Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
aadil_madarveet
Partner - Creator II
Partner - Creator II

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 - Creator II
Partner - Creator II
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 - Creator II
Partner - Creator II
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 - Creator II
Partner - Creator II

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