Hi,
I am trying to retrieve the 'uniquename' which appears in the developer resources alongside the organisation id.
I can successfully get the organisation id using the following in liquid
{{ request.params['orgid'] }}
Is there a way to get the organisation unique name using a similar technique? I have tried the following:
uniquename: {{ request.params['uniquename'] }} <br/>
orguniquename: {{ request.params['orguniquename'] }} <br/>
orgname: {{ request.params['orgname'] }} <br/>
name: {{ request.params['name'] }} <br/>
UniqueName: {{ request.params['UniqueName'] }} <br/>
Thanks,
G
Solved! Go to Solution.
Hi @Gwham ,
There is no option to retrieve the unique name of the instance, only id is available in request.param object.
Are you referring to this unique name?
Hi @Gwham ,
There is no option to retrieve the unique name of the instance, only id is available in request.param object.
@Gwham can you more details of your requirement? there might be other ways to achieve what you need
Power Pages Super User | MVP
If you need OrgName to branch logic between Dev,Test,Prod look at Deployment Profiles in PAC CLI instead - Power Apps portals: Create deployment profile for dev/test/prod environment using Power Apps CLI
If you need OrgName to make Dataverse Web API calls back to Dataverse you won't be able to as you don't have licesned Azure AD user context on that front-end unless users are Employees who have access to that Dataverse Environment; you need to look at Portal Web API instead. Overview of portals Web API - Power Apps | Microsoft Docs
Yes, that's correct.
😞