Attach button for Contextual Search

Aviv S_
Tera Contributor

Hi,

I display the Contextual search feature for non-extended task table, and I have an issue with that since OOB click on it not insert a record to the M2M table 'task_rel_kb' (this table holding the connection between kb and task).

I found the Ui Macro cxs_result_table, that displaying the search on the form and there, the function "cxs_result_table" that executed while clicking on the 'Attach' button.
I did not found where this function called.
Any help?

My requirement is use the Contextual search on a custom entity (this entity linked to the Case entity) and while attaching some kb articles it will be linked to the task (Case).


Aviv

9 REPLIES 9

Ct111
Giga Sage

Hi ,

 

Your Attach button will be present in  UI actions.

 

In Filter Navigator Type   UI action ---> Search    'Attach'  in Name.

 

Once you open it make the changes to your code as needed.

 

Mark my ANSWER as CORRECt and HELPFUL if it helped.

Aviv S_
Tera Contributor

Hi,

Tnx for the reply,
but I don't have any 'Attach' record in UI action table.
Also, it's not a regular button since this part of the Contextual search.

Aviv

Ct111
Giga Sage

Hi Avivs,

 

Go to the  Table Configuration under Contextual Search

 

In that check the example  like of  Incident  

 there scroll below you would find a tab Search Action Configuration  

in that you can find that Action label with Name    "Attach"   check it's setting and make it according to your requirement

 

Mark my ANSWER as CORRECt and HELPFUL if it helped.

Aviv S_
Tera Contributor

I'm appreciate your help 🙂

Indeed, there is documentation for Search Action Configuration
find_real_file.png

But I didn't find this related list on Table Configuration form, not in the Incident example nor in the configure form.



Aviv