[Function request] 2502 "Extension Marketplace" - AddSearchText
To improve the onboarding experience and provide better tools to our marketing department, we would like to provide an 'in-app' experience to showcase our available apps from within BC. Recommended apps is too limited, but the 'Extension Marketplace' page seems to provide the needed experience.
Request is to be able to call the page with a predefined filter.

We think this can be easily achieved by changing the MarketplaceUrl from a local to global variable.
And provide an extra function to add a 'SearchText' when constructing the URL
procedure AddSearchText(SearchText: text)
var
SearchLbl: Label '&search=%1&page=1', locked = true
begin
// Example
// https://appsource.microsoft.com/embed/en-us/marketplace/apps?product=dynamics-365-business-central &search=dynavision&page=1
MarketplaceUrl := ExtensionMarketplace.GetMarketplaceEmbeddedUrl();
If SearchText <> '' then
// possible URLEncode 'SearchText' ...
MarketplaceUrl += strsubstno(SearchLbl, SearchText)
end;
Related #16241
- [ ] Reviewed / Found in latest BC version
We'll ship a procedure:
procedure SetSearchText(Text: Text)
In a future minor.
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11517.