Hi @Prasad-MSFT
below is the configuration tab code in manifest file and project is using hashRouter for routing.
"configurableTabs": [
{
"configurationUrl": "https://${{TAB_ENDPOINT}}#/config",
"canUpdateConfiguration": true,
"scopes": ["team"]
}
],
still the same error is there - something went wrong. tried with different configs but same result. the config page's configuration is correct. since it's the final page, so the should the config page be defined first or a seperate page should be there for config. In the defined code for config, there are multiple values which are coming from other functions. so some clearance would be useful.
modified the code of the project based on the url suggestion but issue is there for launching the page correctly.
useEffect(() => {
const sHostname = Util.getQueryVariable("hostname") || "";
app.initialize().then(() => {
app.getContext().then(() => {
pages.config.registerOnSaveHandler(
(saveEvent: pages.config.SaveEvent) => {
let url = `${sHostname}/${generateUrl}`;
let tenantId = window.location.hostname;
if (bSSO) {
const bydAuth = `${window.location.origin}/sap/ap/ui/${Util.ABAP_PATH}index.html${encodeURIComponent("#auth")}`;
url += `&bydAuth=${encodeURIComponent(bydAuth)}`;
} else {
tenantId = tenantId.replace("-sso", "");
}
pages.config.setConfig({
contentUrl: url,
websiteUrl: url,
suggestedDisplayName: tabName,
removeUrl: `${sHostname}${encodeURIComponent("#remove")}?theme={theme}`,
entityId: tenantId,
});
if (bMandatoryFieldFilled) {
saveEvent.notifySuccess();
} else {
saveEvent.notifyFailure();
}
}
);
});
});
}, [bSSO, bMandatoryFieldFilled, tabName, generateUrl]);