Hi Jansen,
We have a provide hosted Add-in, which used to deploy commands(custom menus based document selection) which redirects to different website with standard tokens. Is this model is supported In SPFx based apps?
In our existing add-in(provider hosted add-in) command bar control action, we are calling a different site and loading data. When we are redirecting/calling external link we are sending StandardTokens in the form of query strings.
<CommandUIHandler Command="ManageItem"
CommandAction="https://testsite.com/Pages/Confirmation.aspx?{StandardTokens}&Item={SelectedItemId}&List={SelectedListId}&action=manage"/>
</CommandUIExtension >
When command action executed we get StandardTokens like SPHostUrl, language, productnumer etc. this info can be found at https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/url-strings-and-tokens-in-sharepoint-add-ins#tokens-that-you-can-use-inside-a-url.
The StandardTokens combines five other tokens, those are SPHostUrl={HostUrl}&SPAppWebUrl={AppWebUrl}&SPLanguage={Language}&SPClientTag={ClientTag}&SPProductNumber={ProductNumber}
I want to know whether still we can call external resource/website using with StandardTokens options as commandAction in SPFx based app.