How to update the Author information of a Web Intelligence document
Environment
SAP BusinessObjects Business Intelligence Platform (BI) 4.1 / 4.2 / 4.x
Web Intelligence (WebI)
Reproducing the Issue
Log on to BI launch pad with user01.
Create a new Web Intelligence document and save it.
Open this WebI document and check the Document Summary in the left panel, the Author is user01.
Now log on to BI launch pad with another user user02.
Open the same WebI document and user Save as to save a new document.
Open the newly saved document and check the Document Summary in the left panel, the Author is still user01.
Is there any method that can update the Author here to user02?
Cause
The
Author information in
Document Summary comes from the properties which is saved in Web Intelligence document (wid file) itself.
To update it, wid file should be updated and re-saved.
Resolution
There is no standard function in Web Intelligence interface to do this kind of update. To update the Author property of the wid file, Restful web service SDK can be used.See the guide document (BI 4.1 SP4 version)
http://service.sap.com/~sapidb/012002523100011675382015E/sbo41sp4_webi_restws_dg_en.pdfPage 125 Section [7.1.10.2 Updating the Properties of a Document]
Use interface
PUT <Restful URL>/documents/{documentId}/properties to do this kind of update.Attached is a sample program which can be used to do this work.
Please refer to the steps below about how to use it.
Note: This program is a sample program for references. Customers should develop the suitable program by themselves to fit the business requirement.
Copy the file updateCreateBy.htm to the Tomcat root folder: <Tomcat install folder>\webapps\ROOT
Make sure in the BI system, WebApplicationContainerServer is running and enabled.
Launch Google Chrome and access to http://
:
/
updateCreateBy.htm *Google Chrome must be used here. Other browsers like IE may have script error that caused it not working well.
Input the restful base url (e.g. http://server:6405/biprws), the password of Administrator user, the ID of the document which you want to modify, and the Author value you want to set.
Click Go button. If the process goes well, after some seconds, "Process is completed!" will be prompted.
Open the WebI document again and confirm the Author of Document Summary is updated.
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Add a comment