Skip to content

Update navigate-to-custom-page-examples.md #2904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rfarris2000
Copy link

The code sample for AppStart and parsing the recordId is incorrect. You must use the MID function to strip the value between curly brackets ({GUID})

The code sample for AppStart and parsing the recordId is incorrect.  You must use the MID function to strip the value between curly brackets ({GUID})
@JimDaly
Copy link
Contributor

JimDaly commented Mar 28, 2022

@adrianorth

Second example here Open as an inline full page with a record context

Reported:

The code sample for AppStart and parsing the recordId is incorrect. You must use the MID function to strip the value between curly brackets ({GUID})

Current:

App.OnStart=Set(RecordItem, 
    If(IsBlank(Param("recordId")),
        First(<entity>),
        LookUp(<entity>, <entityIdField> = GUID(Param("recordId"))))
    )

Proposed:

App.OnStart=Set(RecordItem, 
    If(IsBlank(Param("recordId")),
        First(<entity>),
        LookUp(<entity>, <entityIdField> = GUID(Mid(Param("recordId"), 2, 36))))
    )

@opbld31
Copy link

opbld31 commented Sep 12, 2022

Docs Build status updates of commit fbec2f6:

✅ Validation status: passed

File Status Preview URL Details
powerapps-docs/developer/model-driven-apps/clientapi/navigate-to-custom-page-examples.md ✅Succeeded

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@phecke phecke removed their request for review January 20, 2023 23:23
@MicrosoftDocs MicrosoftDocs locked as resolved and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants