Hi Martin, Thank you for your reply. >Are you trying to get the objectId of the previously selected object, namely the object from which the navigation was triggered or you are trying to ge...
See more...
Hi Martin, Thank you for your reply. >Are you trying to get the objectId of the previously selected object, namely the object from which the navigation was triggered or you are trying to get the selectedTargets ? if i call the getNavigationData API , i can get the selectedTargets . But the getContextObjects API returns undefined, like this : ERROR TypeError: ""this.xxxxxxxx.htmlClientSdk.app.getContextObjects(...)[0] is undefined"" >The customData value is not a valid json { objectId, selectedTarget } Maybe my customData is not a valid json, so I try to make a valid json for customData , and try again , but was same wrong. Can you give me some example of customData ? my example : (by typeScript) const obj = {}; this.selectedTargets.forEach(item => (obj[item.id] = item)); const selectedTargetJSON = JSON.stringify(obj); this.xxxxxx.htmlClientSdk.app.navigateTo({ targetViewId: 'com.xxxxxxx.summary', objectId: objectId, customData: selectedTargetJSON }); By the way I checked the network in vSphere 6.7 : (Have objectId=xxx) 1.request URL:https://xxxxx/ui/navigation/data/com.xxxxxxx.summary?objectId=urn:hsp:yyy:zzz:A_B_123 request method:GET 2. request URL:https://xxxxx/ui/navigator/navigate/com.xxxxxxx.summary?context=urn:hsp:yyy:zzz:A_B_123&navigator=tree but in vSphere 7.0 : (Have not objectId=xxx) 1.request URL:https://ssssssss/ui/navigation/leaf/com.xxxxxxx.summary request method:GET 2. request URL:https://ssssssss/ui/navigator/navigate/com.xxxxxxx.summary?context=urn:hsp:yyy:zzz:A_B_123&navigator=tree request method:GET