- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2018 08:17 AM
From Create New Record I would like to hide Work notes section. It only should visible whenever user create create the records.
Thanks in Advance
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2018 11:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2018 08:19 AM
Creat an ACL of type read/write with condition in filter as Created is not empty.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2018 08:21 AM
Create an OnLoad client script as below and it will works.
function onLoad(){
//Check if new record
if(g_form.isNewRecord()){
g_form.setDisplay('Work_notes', false);
}
else{
g_form.setDisplay('Work_notes', true);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2018 08:25 AM
For hiding Section ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2018 08:37 AM
For hiding the section, you have to use the API, setSectionDisplay as shown in the below screen shot. If work notes is mandatory, then we may have to make mandatory as false using setMandatory API, before hiding the section
function onLoad() {
if(g_form.isNewRecord()) // check whether it is new record
{
g_form.setSectionDisplay('Employee Location',false);
}
}