How to make 'Source Task' field in write operation on Knowledge form.

MayurGavhane
Tera Contributor

 

Hi All,

I want to make 'Source Task' field in write mode for all, I did change a OOTB ACL also but didn't work can you help me with this.

I have removed 'nobody' role from ACL.

 

MayurGavhane_0-1690182513581.pngMayurGavhane_1-1690182527127.png

 

@BharathChintala 

 

 

 

2 ACCEPTED SOLUTIONS

Harish KM
Kilo Patron
Kilo Patron

Hi you dont need to create/modify the ACL. Just make the OOB ACL inactive and there is a OOB UI Policy called "Make source read only" which is setting the source field read only. Deactivate this UI policy as well then it will work

Regards
Harish

View solution in original post

Hello @MayurGavhane 

 

Make this UI Policy Active false on Knowledge Table :-

 

Screenshot 2023-07-24 at 12.55.46 PM.png

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh

 

View solution in original post

14 REPLIES 14

MayurGavhane
Tera Contributor

Thanks @Harish KM @Samaksh Wani  It's working as expected.

 

Hello @MayurGavhane 

 

Kindly, Mark my response as Accept and Close the thread. It will help the future readers to reach the post.

 

Regards,

Samaksh

MayurGavhane
Tera Contributor

Hello @Samaksh Wani @Harish KM   Now I want to link Knowledge article with incident when I select 'Source Task' as an Incident It should link and show in the related list of the Incident.

 

MayurGavhane_0-1690189219386.pngMayurGavhane_1-1690189227794.png

 

 

Hi @MayurGavhane 

 

For this It would be great if you open a new thread for this question. According to community, it will be easier to track the solution for the users.

 

Kindly Mark my previous response as Accept

 

Regards,

Samaksh

@MayurGavhane 

 

You need to write display Business Rule :-

 

 

var gr = new GlideRecord('kb_knowledge');
gr.addQuery('source_task', current.number);
gr.query();

if(gr.next()){
current.field_name = gr.number;
}

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh