Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
AndyBurnsJPM
Contributor II
Contributor II

QRS API /app/full not returning complete custom properties

According to the QRS API spec, I should see the values and definition like so: 
 
"customProperties" : [ { "createdDate" : "2000-01-23T04:56:07.000+00:00", "modifiedByUserName" : "modifiedByUserName", "schemaPath" : "schemaPath", "modifiedDate" : "2000-01-23T04:56:07.000+00:00", "definition" : { "privileges" : [ "privileges", "privileges" ], "valueType" : "valueType", "name" : "name", "choiceValues" : [ "choiceValues", "choiceValues" ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "value" : "value" }, { "createdDate" : "2000-01-23T04:56:07.000+00:00", "modifiedByUserName" : "modifiedByUserName", "schemaPath" : "schemaPath", "modifiedDate" : "2000-01-23T04:56:07.000+00:00", "definition" : { "privileges" : [ "privileges", "privileges" ], "valueType" : "valueType", "name" : "name", "choiceValues" : [ "choiceValues", "choiceValues" ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "value" : "value" } ],
 
However, I am only getting the values. I cannot determine which  custom properties they actually belong to. 
id : b5c875f7-d5b1-4009-9264-d60bd0a3b118
createdDate : 2019/04/02 14:49
modifiedDate : 2021/10/28 11:50
modifiedByUserName : x
customProperties : {@{id=1bdd4ff4-ee39-4d0b-93eb-fb26dd0fc931; createdDate=2021-10-28T09:08:40.443Z; modifiedDate=2021-10-28T10:50:22.256Z; modifiedByUserName=x; value=1; definition=;
schemaPath=CustomPropertyValue}, @{id=dfac5d46-c348-4dec-be0f-86a4724507e8; createdDate=2021-10-28T10:50:22.256Z; modifiedDate=2021-10-28T10:50:22.256Z; modifiedByUserName=x;
value=Data Loader; definition=; schemaPath=CustomPropertyValue}}
owner : @{id=31daf014-0849-4637-911a-c3834400bd17; userId=x; userDirectory=x; name=x; privileges=}
name : xyz
appId :
sourceAppId : 00000000-0000-0000-0000-000000000000
targetAppId : 00000000-0000-0000-0000-000000000000
publishTime : 2020/04/01 14:25
published : True
tags :
description :
stream : @{id=1b110cda-4e08-412e-9bcc-5625b440a49e; name=xyz; privileges=}
fileSize : 157478
lastReloadTime : 2021/10/26 22:06
thumbnail :
savedInProductVersion : 12.763.6
migrationHash : 98d482c3f964dccf69cbfb9a00e0c048ea6eb221
dynamicColor :
availabilityStatus : NotMigrated
privileges :
schemaPath : App
 
Labels (3)
1 Solution

Accepted Solutions
NadiaB
Support
Support

Hi @AndyBurnsJPM

 

By any chance could you confirm if you using any tool to get this information, if so, could you try with a different tool to see if the result is consistent?

Could you indicate what privileges you have ?

Could you try to use the following Security Rule and configure it for the user you are using to get the results of QRS API (https://community.qlik.com/t5/Knowledge/Guidance-on-how-to-conclude-if-the-issue-is-Security-Rule/ta...)

If none of the above works, could you try to add an additional header Context: ManagementAccess to see if that makes a difference (https://help.qlik.com/en-US/sense-developer/August2021/Subsystems/RepositoryServiceAPI/Content/Sense...)?

 

If nothing works, it will be necessary to follow up with a case, attach a backup of the repository DB and indicate the userid you are using to make the QRS API Calls. 

 

Hope it helps! 

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm

View solution in original post

3 Replies
NadiaB
Support
Support

Hi @AndyBurnsJPM

 

By any chance could you confirm if you using any tool to get this information, if so, could you try with a different tool to see if the result is consistent?

Could you indicate what privileges you have ?

Could you try to use the following Security Rule and configure it for the user you are using to get the results of QRS API (https://community.qlik.com/t5/Knowledge/Guidance-on-how-to-conclude-if-the-issue-is-Security-Rule/ta...)

If none of the above works, could you try to add an additional header Context: ManagementAccess to see if that makes a difference (https://help.qlik.com/en-US/sense-developer/August2021/Subsystems/RepositoryServiceAPI/Content/Sense...)?

 

If nothing works, it will be necessary to follow up with a case, attach a backup of the repository DB and indicate the userid you are using to make the QRS API Calls. 

 

Hope it helps! 

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm
AndyBurnsJPM
Contributor II
Contributor II
Author

Hi Nadia,

 

Thanks for your help. We discovered since that the issue was with a script used to format the data. It was cutting off lower nodes on the tree. 

NadiaB
Support
Support

Thank you for letting us know @AndyBurnsJPM

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm