ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Function request] 2502 "Extension Marketplace" - AddSearchText

Open fvet opened this issue 4 years ago • 2 comments

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.

image

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

fvet avatar Jun 23 '22 10:06 fvet

We'll ship a procedure:

procedure SetSearchText(Text: Text)

In a future minor.

stkillen avatar Jul 19 '23 08:07 stkillen

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.

JesperSchulz avatar Jul 19 '23 08:07 JesperSchulz