@Michelle_Patterson, sorry if I confused you. You only need the following part to be encoded and filled in the argument field.
From this:
javascript:postMessage({action:‘navigate’, route: { path: ‘/dashboard/view/xHF4pBuWWBQFYu8h3nOc’}})
To this:
javascript%3ApostMessage%28%7Baction%3A%27navigate%27%2C%20route%3A%20%7B%20path%3A%20%27%2Fdashboard%2Fview%2FxHF4pBuWWBQFYu8h3nOc%27%7D%7D%29
You don’t need the FKB’s ip and cmd like below, The loadURL
command from the device handler will do this for you, and attach the filled argument as url
query parameter in the request to FKB.