You need to sign in to do that
Don't have an account?
Possible to invoke a conga report via scheduled apex?
Ok - I have a working Javascript button that executes a Conga Report - works great.
I'd like to stop pushing the button, and instead schedule the report via Scheduled Apex...
Here's my VF page and Apex class:
Thanks for any assist / guidance,
Pete
I'd like to stop pushing the button, and instead schedule the report via Scheduled Apex...
Here's my VF page and Apex class:
<apex:page controller="calljavascript_cls" > <script> function func() { window.open('https://composer.congamerge.com?sessionId={$API.Session_ID}&serverUrl={$API.Partner_Server_URL_370}.........); } </script> <apex:outputText value="{!callfunc}" escape="false"></apex:outputText> </apex:page> global class calljavascript_cls implements Schedulable { global static string callfunc{get;set;} global void execute(SchedulableContext sc) { calljavascript_cls(); } @future(callout=true) public static void calljavascript_cls() { callfunc='<script> func(); </script>'; } }Debug logs show no evidence that the VF javascript function is being invoked (?) which is making my troubleshooting efforts difficult.
Thanks for any assist / guidance,
Pete
I can suggest to reach out to conga support team .. they migt help you more quickly and let me know what is the out come