Michelle Adams Posted April 1, 2022 Share Posted April 1, 2022 Well, I have been researching this for a bit and havent found any useful information on how to do this yet. I have a Report Caster schedule I need to have a user run by hitting a button on an html page within a portal page. We do not have Restful, I read that it would be useful if we did but we dont. Any suggestions appreciated. Link to comment Share on other sites More sharing options...
john cullen Posted April 1, 2022 Share Posted April 1, 2022 Have a look for DSTRUN or DSTRUNNOW. Downside is hardcoding usernames/password. You can make a focexec that runs a schedule, and link action to a button. Its in the RCAPI manual. Link to comment Share on other sites More sharing options...
Michelle Adams Posted April 1, 2022 Author Share Posted April 1, 2022 Thanks. I can look at that more. I read that DSTRUN was old and not supported anymore since Restful was released. Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted April 2, 2022 Share Posted April 2, 2022 You can do it in Restful Web services Link to comment Share on other sites More sharing options...
David Beagan Posted April 4, 2022 Share Posted April 4, 2022 Yes, RESTful Web Services. In a workspace (domain) named wspace I have a schedule named Report1.sch. I created the following fex: -HTMLFORM BEGIN <!DOCTYPE html> <body onload="document.f1.submit();"> <form name="f1" action="/ibi_apps/rs/ibfs/WFC/Repository/wspace/Report1.sch" method="get" target="_self"> </form> </body></html> -HTMLFORM END I ran the fex and just see the scheduleid returned in the browser. The schedule ran and distributed the output. You can run this fex from a button. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now