19
Views
8
Comments
Solved
To Download All Types of log from the dependency
Question

I want to export all Logs from Four Dependencies I created. And also I need to search particular log for specific date using date picker widget. Can someone help with this .I have attached my oml file below

AppLog.oml
Solution

Hi Sakthipriya B,

You added new SS in post. So I looked your issue. I updated the oml please check it.

If given solution is working, please mark it as solution.

Thank you,

Gayatri

AppLog.oml

Hi Sakthipriya B,

To export all logs you need to pass data respective variable to export action.

Thank you,

Gayatri

Hi Gayatri Kapadi,

No, Its not working properly. Can you please check the algorithm for all action. In ConvertToTextOnClick action i have appended all the log by using Listappendall for separate log. Can you refer some alternate way to do that action.

Hi, 

Could you please explain issue in detail?

Hi,

In this the process flow i had appended all the data as Listappendall format and JSON Serailaizer in ConvertToTextOnClick screen action at interface. For Log error, general log, Integration log, Screen log. After that i want to assign those values and download the data as text format in single file.

Hi Sakthipriya B,

I've attached oml. Please check it once.

Thank you,

Gayatri

AppLog (1).oml
Solution

Hi Sakthipriya B,

You added new SS in post. So I looked your issue. I updated the oml please check it.

If given solution is working, please mark it as solution.

Thank you,

Gayatri

AppLog.oml

Hi Gayatri,

Thanks.

Also I have created a log data for all logs(log error, General Log, Integration Log, Screen Log). In this, if I choose from and to date means I want to display and download the text file for all logs been displayed in home screen. 

Hi,

As Gayatri  said, you need to pass data to export actions parameters (client and server side actions).

In order to have data, you have to populate your vars:

This is only being done clicking on "Convert to Text" button.

So, in order to download a file with information, besides what Gayatri mentioned, you need to click on that button first and then click on Export button. (The way your code is right now...)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.