cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with getting updated document Data

0 Kudos

I am having issue with getting update document data.  Below are the details

1. Open a connection using web service call

2. Get the document reports for ex 1 Report tab

3. Login to BI launch Pad directly and added another report tab to the same document access earlier and saved the document

4. using the same restful session if I access the same document to get the reports returned one report tab instead of two.

If I create the logon token again and able to see the updates. Is there a way to get the latest data without generating logon token?

Accepted Solutions (1)

Accepted Solutions (1)

daniel_paulsen
Active Contributor
0 Kudos

Hi Sivaraman,

Have a look at the documentation about the Document Lifecycle APIs.

If you have not modified the document and its state is "Original", you can close the document and then re-open it, but if you have made modifications such that the current State is "Modified", those modifications will get saved back potentially overwriting the change made in launchpad.

Dan

0 Kudos

Hi Dan,

I am not making any update to the document using rest web service call and I trying to consume the data.

My questions

1. Establish connection through rest API

2. Get the report details.  Ex Web service return one Report tab for the document

3. Open BI Launchpad separately and update the same document and added additional report tab and saved on the BI Launchpad.


4. With the previously established connection(Step 1) trying to access the same document I still get report tab count is 1 instead of two.

But If create fresh connection through rest API and try to get the report details returns report tab count is 2.

Please advice.



daniel_paulsen
Active Contributor
0 Kudos

the workflow would be:

1. GET .../documents/<docId>/reports

          this would return one report "tab"

2. Open bi launchpad and add a new report tab and save.

3.  Close the document in the REST session

     PUT  /documents/<docId>

     body:

          <document><state>Unused</state></document>

4. re-open the document
     GET .../documents/<docId>/reports

     this should return two report "tabs"

0 Kudos

Thanks Dan for all your quick and correct response.

Answers (0)