Where can I find documentation on `JsEvent`?
Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
			
		
			
	
	
			
				
		
		
			mkhtran
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
	
	
	
		
			
		
	
	
			9 - Comet
		
	
				
		
	
		
			
    
	
		
		
		08-18-2023
	
		
		04:13 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Where can I find documentation on `JsEvent` method?
declare const JsEvent: (Event: string, item: object, context?: IContext) => Promise<unknown>;
The UI-SDK page only shows how to list all the supported events, but I can't find anything that explains what these events do, their possible options, and their outputs. More specifically, is it possible to specify "FileBrowse" to filter for something like "*.csv" files instead of the default "*.yxmd;*.wmdl;*.yxwz;*.yxmc;*.yxzp;*.yxi;*.yxwg"?
const filePath = await JsEvent('FileBrowse', {})
Or is there a similar "DirectoryBrowse" option to select directories instead of files, like the built-in Directory tool?
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
			
		
			
					
				
		
			
					
				
		
	
	
- Labels:
- 
						
							
		
			SDK
		1 REPLY 1
	
		
		
			
			
			
				
			
    
	
		
		
		08-25-2023
	
		
		10:56 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I've gathered a number of JsEvents and their arguments here for anyone interested, but it is nowhere near an exhaustive list: https://github.com/alteryx/alteryx-ui/issues/25
