Hi Developers, I have a use case where I need to record the Webreports logs (Scheduled or not scheduled one) which is failed to execute by any means. and also, wants to capture the Failure logs for Workspace creation from SAP.
Thanks, Nitesh
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Perhaps you are better off by creating a SmartUI project that reads server-side logs…
Can you elaborate how it can be achieved?
Your first requirement says when a WR executes you want to see errors occurring in that process to be shown in the XECM UI. The XECM UI consists of two user interfaces Classic which is the older one pure oscript & weblingo or SmartUI which is a JS Application reaching out to CS Oscript using RESTAPI. I assumed you wanted to see it in smartui so the option is to write a smartui project. if you have never done it start with a HelloWorld project.
Web Reports when I write complicated routines you can just write to logs or cs nodes OOB.For even complicated things one can create a Form Template/Form based on SQL and when your WR runs and you want to insert Success/failure you can write it to your Form table .You can later surface this with CI.
As for SAP CreateOrUpdate workspace calls you could get them from the ECMLink(SOAP) server or Content Server(lapi logs enabled) but since it is on the server you have to get somehow it to show on the XECMUI so you need some kind of intelligent code written that can surface those.In my experience SAP records the failures it receives from SAP in its tables etc so not sure why you need it again in the CS application.
Thank you for the insights. I will try the form option for inserting the data.