Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Microsoft.Xrm.Data.PowerShell : how to open entity record with custom URL

(1) ShareShare
ReportReport
Posted on by 25

Hi all,

I retrieved a Guid from a record using his phone number with powershell

and i want to open the record directly from powershell, when i put the variable that contain the Guid into the url i get a error in dynamics

this is the url that i use it and the command in powershell to open it : 

start 'contoso.crm4.dynamics.com/main.aspx?app=d365default&pagetype=entityrecord&etn=contact&id=%7B$m%7D'

pastedimage1577799366362v1.png

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Microsoft.Xrm.Data.PowerShell : how to open entity record with custom URL

    Hi arc,

    Could you share URL in the opened browser tab?

    Regards,

    Clofly

  • MOMO23220 Profile Picture
    MOMO23220 25 on at
    RE: Microsoft.Xrm.Data.PowerShell : how to open entity record with custom URL

    Hi Clofy

    thanks for your answer yes it's a Guid, i tried to put it without the brackets i have always the same problem

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Microsoft.Xrm.Data.PowerShell : how to open entity record with custom URL

    Hi arc23220,

    You won't need to include the guid inside two curly brackets(%7B and %7D).

    (if $m equals a guid)

    pastedimage1577869400200v1.png

    Regards,

    Clofly 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans