File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Controllers/Examples/WebForms
Services/Examples/Monitor Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ protected function createController(): void
104104 $ GLOBALS ['twig ' ]->display (
105105 self ::WEB_FORM . '.html ' ,
106106 [
107+ 'embeddedBy ' => $ this ->codeExampleText ["AdditionalPage " ][2 ]["ResultsPageText " ],
107108 'instance_token ' => $ webFormInstance ["instance_token " ],
108109 'url ' => $ webFormInstance ["form_url " ],
109110 'integration_key ' => $ GLOBALS ['DS_CONFIG ' ]['ds_client_id ' ],
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ public static function getMonitoringData(MonitorApiClientService $clientService)
2323 try {
2424 // Get monitoring data
2525 $ datasetApi = new DataSetApi ($ apiClient );
26-
27- $ cursor = "" ;
26+ $ cursorDate = new \DateTime ();
27+ $ cursorDate ->modify ('-1 year ' );
28+ $ cursor = $ cursorDate ->format ('Y-m-d ' ) . "T00:00:00Z " ;
2829 $ complete = false ;
2930 $ options = new GetStreamOptions ();
3031 $ options ->setLimit (2000 );
Original file line number Diff line number Diff line change 1010< body >
1111< div id ="app ">
1212 < div id ="webform-customer-app-area ">
13- < h5 id ="webforms-heading "> The web form has been embedded below using the Docusign JS library. </ h5 >
13+ < h5 id ="webforms-heading "> {{ embeddedBy | raw }} </ h5 >
1414 < div id ="docusign " class ="webform-iframe-container ">
1515 < p > Web Form will render here</ p >
1616 </ div >
You can’t perform that action at this time.
0 commit comments