Trying to Embed powerapp form with CRM but needs to pass parameters in the url

Hi,

we are trying to embed powerapp form with CRM.I need to add lookupid of the constituent as a parameter in my URL .What is the best way to do ?

Comments

  • @Soma Sankaragomathi
    Hopefully not too late! There's a file in the SDK installation that explains how to add parameters into the URL section. We've used this with Power BI reports successfully.
    "SDK\\Documentation\\UrlSection.doc"

    The relevant bit copied below

    The Url parameter itself supports several string replacement macros. This is useful when the Url is a function of some data rather than a literal value.

    Refer to values from the page expression form by wrapping the field ID in ## (for example ##SOMEFIELDVALUE##). Note that these replacements are processed first.

    @ (for example, DATABASENAME). Use the following literal string replacement values:

    CURRENTUICULTURE

    PAGECONTEXTRECORDID

    PAGECONTEXTRECORDTYPE

    PAGEEXPRESSIONDATAFORMID

    PAGEFAVORITECAPTION

    PAGECAPTION

    PAGEID

    CURRENTAPPUSERID

    CURRENTAPPUSERISSYSADMIN

    REPORTDATASOURCELOCATION

    REPORTRENDERURL

    REPORTSERVERURL

    DATABASENAME

    SERVICEURL

    SERVICEURLBASEPATH

    SERVICEURLHELPPATH

    SERVICEURLPLUGINPATH

    SESSIONKEY

    CURRENTAPPUSERNAME

    For example, the following url:

    @SERVICEURLBASEPATH@@DATABASENAME@@&DataListID=D38B7630-A6F8-4f87-82C1-CAA49AFC04F5

    Would be resolved as:

    http://localhost/bbAppFx/Util/DataList.ashx?DatabaseName=BBInfinity&DataListID=D38B7630-A6F8-4f87-82C1-CAA49AFC04F5