web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need alternative for J...
Power Apps
Unanswered

Need alternative for JavaScript getQueryStringParameters()._CreateFromType

(0) ShareShare
ReportReport
Posted on by 62

Hi Everyone,

 

I come across a script that doesn't support in D365 V9.0 and I am unable to find alternative as well. Below is the line of code.

Number(Xrm.Page.getQueryStringParameters()._CreateFormType);

This line of code is called on Quick Create form. So, It will give EntityObjectType code of the lookup (In my scenario Contact and Case ) based on the condition we are doing validations. 

We have two lookup's Contact, Case on click of new button of lookup It will give different EntityObjectType code based on the  where it is called from.

Could you suggest alternative of the above code in Dynamics 365.

I have the same question (0)
  • Mahendar Pal Profile Picture
    191 on at

    Hi,

     

    Do you want to check parent entity , please check https://himbap.com/blog/?p=4475

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard