I want a activity log to be displayed on click of ui action. By defalut its shows maximum 250 entries as per glide.history.max_entries system Properties.

shwetat
Tera Contributor

I want a activity log to be displayed on click of ui action. By defalut its shows maximum 250 entries   as per glide.history.max_entries system Properties.

I want is to fetch next 250 entries on click of UI action.

Please let me know if somebody has done something like this.

Or help me with the approach.

Is this possible to fetch the dat afrom sys_history_line table??

Thanks

Shweta Thkaur

7 REPLIES 7

aswin
Giga Contributor

Hi Shweta,



If the requirement is to display all the audited entries in the activity log, then you can use the following suggestions



1. Extend the limit of the glide.history.max_entries property to show all the entries.


2. You can also add all the fields in the Activity log layout.



The above two suggestions are better to use than the UI action because if multiple users use the UI action at the same time, it will bring the instance down.



Please let me know if I could be of any assistance.



Thanks and Regards,


Aswin Siddalingam


shwetat
Tera Contributor

Hi Aswin,



Thanks for your response, but client don't want all the records in one short.


they want this ui button in activity formatter   to fetch the records in chunk of 250 records, onclick of which data will render.... in shunk of . so we cant go with global property.



Thanks


Shweta


shwetat
Tera Contributor

Hi Jagan,


Thanks for the Response, I have gone through the approach of glide on history line table but its giving heavy performance issue..


I just tried with   query,


with setLimit(1). but still page is showing load for long and no reponse.


.Could you please try and check at your end also. if glide on sys_history line is working for you.


Please let me know your findings.



Thanks


Shweta