Skip to main content

Notifications

Announcements

No record found.

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

Is CreatePolymorphicLookupAttribute available in CRM Dynamics 9.0 On-prem?

(0) ShareShare
ReportReport
Posted on by 62
Hello experts,
 
I am writing in regards of a requirement I have to develop a Polymorphic/Multi-entity lookup field, referencing Users and Teams, from Incident entity.
Have found a few solutions for this requirement, however, none worked for me so far.
Would like to confirm if this is even a possibility with CRM Dynamics 9.0 On-prem?
If not, what possible solutions are advised to adopt for this functionality.
 
 
So far I have tried the following:
 
 
Giving me the following exception: 
 
 NameValueType
â–¶$exception{/CreatePolymorphicLookupAttribute#2011/Organization.svc/}System.ServiceModel.FaultException<Microsoft.Xrm.Sdk.OrganizationServiceFault>
 
 
Returning the error below:
 
{
    /error/: {
        /code//0x8006088a/,
        /message//Resource not found for the segment 'CreatePolymorphicLookupAttribute'./,
        /innererror/: {
            /message//Resource not found for the segment 'CreatePolymorphicLookupAttribute'./,
            /type//Microsoft.OData.UriParser.ODataUnrecognizedPathException/,
            /stacktrace//   at Microsoft.OData.UriParser.ODataPathParser.CreateDynamicPathSegment(ODataPathSegment previous, String identifier, String parenthesisExpression)//r/   
            at Microsoft.OData.UriParser.ODataPathParser.CreateFirstSegment(String segmentText)//r/   at Microsoft.OData.UriParser.ODataPathParser.ParsePath(ICollection`1 segments)//r/   
            at Microsoft.OData.UriParser.ODataPathFactory.BindPath(ICollection`1 segments, ODataUriParserConfiguration configuration)//r/   at Microsoft.OData.UriParser.ODataUriParser.Initialize()//r/   
            at System.Web.OData.Routing.DefaultODataPathHandler.Parse(String serviceRoot, String odataPath, IServiceProvider requestContainer, Boolean template)//r/   
            at System.Web.OData.Routing.DefaultODataPathHandler.Parse(String serviceRoot, String odataPath, IServiceProvider requestContainer)//r/   
            at Microsoft.Crm.Extensibility.ODataV4.Routing.CrmODataPathHandler.Parse(String serviceRoot, String odataPath, IServiceProvider requestContainer)/
        }
    }
}
 
3. Polymorphic Lookup Manager (XrmToolbox)
 
Returning the same error as in the first method:
 
/CreatePolymorphicLookupAttribute#2011/Organization.svc/
 
Much apreciated,
Tihomir
 
 
  • T1sh0 Profile Picture
    T1sh0 62 on at
    Is CreatePolymorphicLookupAttribute available in CRM Dynamics 9.0 On-prem?
    Hello, unfortunately, I have not found a working solution for this requirement. I have opted for creating two separate fields instead.
  • VinayG Profile Picture
    VinayG 4 on at
    Is CreatePolymorphicLookupAttribute available in CRM Dynamics 9.0 On-prem?

    Hi Tihomir,

    I have a similar requirement for on-premise CRM and encountered similar errors. Have you been able to find a solution for creating polymorphic lookup fields in on-premise CRM, or have you come across any workarounds?

    I appreciate any insights or guidance you can provide.

    Thanks,
    Vinay

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans