Qlik Community

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Join “Do More With Qlik” with Mike Tarallo to get a first-hand look at the New Authoring Experience, June 29th: REGISTER HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
aadil_madarveet
Partner
Partner

QRS API - Help

Hi All,

I am having some issues in figuring out the full path of the below actions. Could someone please help me identify the full path that i should be using to perform the below actions.

For instance, to get the complete list of custom properties i am using the path.

https://server.com/qrs/custompropertydefinition/full?Xrfkey=abcdefghijklmnop

Now, I would like to add a value to the existing custom property. What is the path i should use to update the property. For example. If i had three values in a custom property and i want to add the 4th value. How should i send it.

1 Solution

Accepted Solutions
aadil_madarveet
Partner
Partner
Author

Figured out the solution.

identify the id of the custom property and build a path like below.

https://server.com/qrs/custompropertydefinition/79d954c5-5436-492a-a61c-17cffc3bd17d?Xrfkey=abcdefgh...

and to update or add or delete the value of a Custom Property

read the response and assign it to a variable and then do push or pop or use any method to modify the array. I have used push in here..

responseJson.choiceValues.push(customPropertyValue);

and send the entire response back using the PUT action.

Works!

View solution in original post

2 Replies
aadil_madarveet
Partner
Partner
Author

Figured out the solution.

identify the id of the custom property and build a path like below.

https://server.com/qrs/custompropertydefinition/79d954c5-5436-492a-a61c-17cffc3bd17d?Xrfkey=abcdefgh...

and to update or add or delete the value of a Custom Property

read the response and assign it to a variable and then do push or pop or use any method to modify the array. I have used push in here..

responseJson.choiceValues.push(customPropertyValue);

and send the entire response back using the PUT action.

Works!

s29124141
Partner
Partner

Good to know that you figured it out. Meanwhile could you mark the post as "Answered"