customRowAction "defaultClick" is not working at search result on Sharepoint list.

%3CLINGO-SUB%20id%3D%22lingo-sub-3249065%22%20slang%3D%22ja-JP%22%3EcustomRowAction%20%22defaultClick%22%20is%20not%20working%20at%20search%20result%20on%20Sharepoint%20list.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3249065%22%20slang%3D%22ja-JP%22%3E%3CP%3EWe%20use%20SharePoint%20Online.%20I%20created%20a%20list%20and%20customized%20a%20view%20format%20with%20json.%3C%2FP%3E%3CP%3E%22defaultClick%22%20action%20is%20working%20on%20list%20view%20but%20it%20is%20not%20working%20on%20keyword%20search%20result%20view.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%7B%0A%20%20%20%22%24schema%22%3A%20%22https%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schemas%2Fsp%2Fv2%2Frow-formatting.schema.json%22%2C%0A%20%20%20%22hideSelection%22%3A%20true%2C%0A%20%20%20%22rowFormatter%22%3A%20%7B%0A%20%20%20%20%20%20%20%22elmType%22%3A%20%22div%22%2C%0A%20%20%20%20%20%20%20%22txtContent%22%3A%20%22%5B%24Title%5D%22%2C%0A%20%20%20%20%20%20%20%22customRowAction%22%3A%7B%0A%20%20%20%20%20%20%20%20%20%20%20%22action%22%3A%20%22defaultClick%22%0A%20%20%20%20%20%20%20%7D%0A%20%20%20%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3249065%22%20slang%3D%22ja-JP%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Visitor

We use SharePoint Online.  I created a list and customized a view format with json.

"defaultClick" action is working on list view but it is not working on keyword search result view.

 

 

{
   "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
   "hideSelection": true,
   "rowFormatter": {
       "elmType": "div",
       "txtContent": "[$Title]",
       "customRowAction":{
           "action": "defaultClick"
       }
   }
}

 

 

 

0 Replies