Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 HilitDrori
		
			HilitDrori
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
I'm new to Qlik Sense and I'm trying to load a Json file using rest.
I need to load in advance only part of the rows from the file, where the field "objectType" equals "sheet".
I used the script from the connection and tried to add WITH CONNECTION QUERY but get the message:
 
					
				
		
 Levi_Turner
		
			Levi_Turner
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		WITH CONNECTION (QUERY "filter" "objectType eq 'sheet' and published eq true")
This works for me.
 
					
				
		
 Levi_Turner
		
			Levi_Turner
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Give a go to this:
WITH CONNECTION (QUERY "filter" "objectType eq 'sheet'")
From the Repository API docs, the expected syntax is filter=filterType <operator> 'condition'.
 HilitDrori
		
			HilitDrori
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		It works. Thank you very much.
Now I'm trying to add another filter
WITH CONNECTION (QUERY "filter" "objectType eq 'sheet' and published eq 'true'");
Also tryed:
WITH CONNECTION (QUERY "filter" "objectType eq 'sheet'", QUERY "filter" "published eq 'true'");
 
					
				
		
 Levi_Turner
		
			Levi_Turner
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		WITH CONNECTION (QUERY "filter" "objectType eq 'sheet' and published eq true")
This works for me.
 HilitDrori
		
			HilitDrori
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		It works great! thank you
 GHasan
		
			GHasan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi, 
what would happen in case of handling null value? If I want:
Where objectType is not null
TIA
