Hi All,

these are just toughts about using the Restful API to write macros to a WEBI Report.

I think that , as mentioned by      Anthony MULLER in Calling Restful API from a WEBI Doc , the great challenge of self scripting a WEBI document ( by self scripting I mean auto modifying the document by inserting javascript code to make calls to the Restful API) is that open a document and making Restful calls to the API uses different  memory spaces.

I think that we can accomplish that following the below steps :

1 – Get a logon token;

2 – Open the document through OpenDocument, passing the token as a parameter ( have a look at How to pass a parameter to a WEBI doc 

3 – Save the document (have a look at How to autosave a Document over itself each n seconds );

4 – Make your Restful calls and save the document through a Restful call );

5 – Reload the Document ( through a refresh, have a look at How to set a WEBI document to autorefresh each n seconds ),

I would like to discuss these options with anyone interested on it.

Regards,

Rogerio

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply