Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Highlighted
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
Partner
Partner

Re: QRS API - Help

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!

2 Replies
Partner
Partner

Re: QRS API - Help

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!

Partner
Partner

Re: QRS API - Help

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