Open vtobias opened 5 years ago
when using customizer in connections cloud we encounter an error with the url matching:
We use e. g. a url like this one:
https://apps.ce.collabserv.com/communities/service/html/communityoverview?communityUuid=0b6afdad-6be2-46ab-9305-d0756388dbb8#fullpageWidgetId=W3467c5081b6d_463d_9c79_3ed06e754f29
And want to have a specific script running when exactly this widgetID is part of the URL.
{ "name": "Custom community widget helper", "type": "com.ibm.customizer.ui", "payload": { "match": { "url": "W3467c5081b6d_463d_9c79_3ed06e754f29" }, "include-files": [ "communities/customWidgets/main.js" ], "include-repo": { "name": "CNXcustomizer" } }, "path": "global", "state": "enabled" },
Unfortunately, the match url statement in the customizer extension in the app registry is not able to ask for anything behind the first # in the URL.
Please care for customizer having the full window.location.href available when evaluating matches on the url.
Thank you!
when using customizer in connections cloud we encounter an error with the url matching:
We use e. g. a url like this one:
https://apps.ce.collabserv.com/communities/service/html/communityoverview?communityUuid=0b6afdad-6be2-46ab-9305-d0756388dbb8#fullpageWidgetId=W3467c5081b6d_463d_9c79_3ed06e754f29
And want to have a specific script running when exactly this widgetID is part of the URL.
{ "name": "Custom community widget helper", "type": "com.ibm.customizer.ui", "payload": { "match": { "url": "W3467c5081b6d_463d_9c79_3ed06e754f29" }, "include-files": [ "communities/customWidgets/main.js" ], "include-repo": { "name": "CNXcustomizer" } }, "path": "global", "state": "enabled" },
Unfortunately, the match url statement in the customizer extension in the app registry is not able to ask for anything behind the first # in the URL.
Please care for customizer having the full window.location.href available when evaluating matches on the url.
Thank you!