File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -960,13 +960,29 @@ Examples:
960960``` json
961961{
962962 "type" : " keyValue" ,
963- "key" : " Last purchase ID " ,
963+ "key" : " Purchase " ,
964964 "value" : " 123" ,
965- "url" : " browser/_User " ,
965+ "url" : " browser/Purchase " ,
966966 "isRelativeUrl" : true
967967}
968968```
969969
970+ To navigate to a specific object using a relative URL, the query parameters must be URL encoded:
971+
972+ ``` js
973+ const objectId = ' abc123' ;
974+ const className = ' Purchase' ;
975+ const query = [{ field: ' objectId' , constraint: ' eq' , compareTo: objectId }];
976+ const url = ` browser/Purchase?filters=${ JSON .stringify (query)} ` ;
977+ const item = {
978+ type: ' keyValue' ,
979+ key: ' Purchase' ,
980+ value: objectId,
981+ url,
982+ isRelativeUrl: true
983+ }
984+ ```
985+
970986#### Table Item
971987
972988A table with columns and rows to display data in a structured format.
@@ -1109,7 +1125,7 @@ Example:
11091125``` json
11101126{
11111127 "type" : " panel" ,
1112- "text " : " Purchase History" ,
1128+ "title " : " Purchase History" ,
11131129 "cloudCodeFunction" : " getUserPurchaseHistory"
11141130}
11151131```
You can’t perform that action at this time.
0 commit comments