on 02-16-2016 6:37 PM
Hi,
I tried purging report with Java SDK, seems like the DataProvider class is deprecated in 4.1.
How it can be done with Restful?
Something like below will work?
Get = ...raylight/v1/documents/reportid/dataproviders/purge = true?
Thanks,
Arun
Hi Arun,
its close. the call would be:
PUT ../raylight/v1/documents/<reportid>/dataproviders/<dataproviderId>?purge=true
if the "isRefreshable" property of the dataprovider is false, then the purge will not work. This property must be set to "true" if it is not already true:
<dataprovider>
....
<property key="isRefreshable">true</property>
...
</dataprovider>
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Arun
To complement Dan's and Anthony's answers, this call support an optional URL parameter to purge the prompts too. For example:
[PUT] .../documents/{documentId}/dataproviders/{dpId}?purge=true&purgeOptions=prompts
Regards,
eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Arun,
You can try something like:
[PUT]/documents/18809/dataproviders/DP1?purge=true
To purge every dataprovider you want.
Regards,
Anthony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.