locked
CRM 2011 Retrieve web resources linked to Entity Form via API RRS feed

  • Question

  • Hi,

    I was wondering if there is an easy way to retrieve the web resources linked to a Form via the CRM MetaService in C#.

    Thanks,


    Jeppen Twitter: @DoSTHGreat

    Monday, May 4, 2015 1:28 PM

All replies

  • Hi Jeppen,

    Check the below link.

    https://community.dynamics.com/crm/f/117/t/107486

    Let me know is that what you were looking for.

    Hope this helps!!!

    Thanks,

    Prasad

    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question

    Tuesday, May 5, 2015 4:42 AM
  • I don't think the link in the previous post is quite what you want.

    I think what you'll need to do is query the Dependency data. I've not done this exact thing before, but I think the main steps are:

    • Get the objectId of the Crm form. You can get this with a query on the systemform entity, and the objectId will be the systemformid attribute
    • Execute a RetrieveRequiredComponentsRequest to get the components required by the form. This should include the web resources used by the form

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, May 5, 2015 1:58 PM
    Moderator
  • Thanks. I will check this.

    Jeppen Twitter: @DoSTHGreat

    Wednesday, May 6, 2015 3:39 PM
  • I'm trying to get it to work with RetrieveRequiredComponentsRequest but it is not as straight forward as I expected.


    Jeppen Twitter: @DoSTHGreat

    Friday, May 8, 2015 9:59 AM
  • Thanks for you help but I could get it to work. I'm parsing the XML with link which may be not as clean but it works as well.

    Thanks


    Jeppen Twitter: @DoSTHGreat

    Tuesday, July 7, 2015 12:12 PM