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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard