How do I get the post button assigned to work notes

Armin Heinlein1
Giga Expert

Hi,

I created my first scoped application and everything works great. Now I am in the phase to make minor improvements and there is one item is on my list to improve is, how to I get the "Post" button assigned to my work notes? Right now I am using the "Save" UI Action and that works and I see the activities but the "Post" would be more elegant.

find_real_file.png

This is in the incident form:

find_real_file.png

1 ACCEPTED SOLUTION

Hello Armin,



Well that was not so straight forward.. But I found a way for you..



Now this is absolutely working fine..



For scoped applications, you are not allowed to configure the Activity Fomatter like that way.



Here is the way you can achieve this:



1. Create a Activity log UI Formatter for the Application Scope like:



find_real_file.png



2. Select the same from the Form Layout and Save it:



find_real_file.png



3. Create a system property from sys_properties.LIST with the Suffix as: glide.ui.x_75830_my_custom_application_table_activity.fields remaining in the Application Scope. Like,


glide.ui.[custom application table name]_activity.fields



find_real_file.png



In my case, custom application name is 'My Custom Application'.



Provide the name of the fields in the Value for which you want to get in the Activity log.(I have given short_description and my_notes).



On creation of this you will see that, Name field on the property is a Read Only field and is starting as- x_75830_my_custom.and the suffix what you wrote will appear after this.



To do away with this, you have to go to the list view of the created property and have to edit the Name from here and remove the first part upto before glide.



find_real_file.png



That is, your created property name should appear like: glide.ui.[custom_application_table_name]_activity.fields



Now, go back to the Custom Application form field and open the Activity formatter to configure it(Configure Available Fields). You will see that your provided fields on the created system property are sitting over there.



Like,



find_real_file.png




THEN,



find_real_file.png



THEN come back. Means Cancel and come back. You will see that Activity Log will show up. And also you are able to see the POST button as well.



find_real_file.png



And, the magic has happened.



Hope this will now help you to configure the same for your requirement.



Please hit Like or mark Helpful or Correct based on the impact.



Thanks,


Rajshekhar Paul


View solution in original post

24 REPLIES 24

Hi Rajshekbar,



I did the same procedure for a different table and I have the post button but for some reason I cannot add the attachment activity into filter and it doesn't show the attachment activity in the filter. It does it for the first table I worked on. Any idea what that could be? I tried several times to add it with no success.


I figured it out. The *Attachments* value was missing. Didn't realize that I have to put * around the word attachment.


Again thank you for all your help.


Hi Armin,



Thanks for your kind response. Glad that I could help you.



Just an additional FYI:
For email logs to be seen in the Activity log, you also need to write like *Email*, and for attachments also *Attachment*.



Kind Regards,


Rajshekhar Paul


Is this valid only for UI16? Or will it work in UI15?


Hi,



I have a different problem. When I add the activity formatter to the form layout I must also add the   comments and work note fields as well for the activity to be visible with the post button. However this results in the actual journal entries also being visible! so basically the same information displayed twice! As can be seen below:


first.png



This is how i configured the form layout


second.png



However if i removed the Additional comments and work notes from the form then the post option disappears as well


third.png



Any ideas what this is happening?