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 :
Microsoft Dynamics CRM (Archived)

How to add webresouce in Form such a way it display in mobile entity record in MS Dynamics CRM 365?

(0) ShareShare
ReportReport
Posted on by

Hi,

1- I have added a webresource(HTML) in Add New Record Form of Account entity. It shows when I check in web browser but when I check in Dynamics App in mobile, it doesn't show.

2- I have added a webresouce(JS) which show simple alert("Hello") on form load. Same, it shows fine in web browser but not in Dynamics App

How can I make it enable for Mobile App?

Please guide

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Chhaya,

    window.alert is not support in mobile client. msdn.microsoft.com/.../dn481572.aspx.

    For displaying the web resource in mobile, you need to set the config properties. Check this: docs.microsoft.com/.../create-web-resources-iframe-mobile

    Hope this helps.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hello ,

    Please have a look below reference , might be help you -

    https://msdn.microsoft.com/en-us/library/dn858562%28v=crm.8%29.aspx?f=255&MSPPError=-2147217396

  • Community Member Profile Picture
    on at

    Hi Goutam/Ravi,

    I have account with Unmanaged solution. I have logged in with mobile as well. I have tried with your suggestions. I am getting checkbox of "Enable for tablet" but when I click on Ribbon Button to open that WebResouce, it doesn't show anything. For example, I have added a button in Account Form. I can see the button when I open the record. When I click on that button, it doesn't show me HTML webresource that is already marked as "Enable for tablet".

    Steps I performed.

    1- Install app and login with unmanaged solution account.

    2- Open web browser in computer and login with same account

    3- Put a button and set webresource show.

    4- Reopen mobile app and try to open it. It doesn't work. However, it works in Web browser

    Please suggest if I am missing

    I use this method:  Xrm.Utility.openWebResource("resource.html", parameter, '600', '600');

    MS CRM Online: 8.2

  • Community Member Profile Picture
    on at

    .

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Chhaya,

    Open Web Resource is not supported for Mobile Clients. Check the documentation here-msdn.microsoft.com/.../jj602956.aspx

    Hope this helps.

  • Community Member Profile Picture
    on at

    Hi Ravi,

    Thanks for the information. Can you please suggest what should I use here to open webresource in above case? Previously I was using window.open(address) but to make this standard, I replaced with CRM method.

    Please guide me.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Chhya,

    Are you on v9? If yes, try using Xrm.Navigation.openWebResource("new_webResource.htm");

    docs.microsoft.com/.../openwebresource

    Hope this helps.

  • P B Profile Picture
    45 on at

    Hi Ravi,

    I am asking behalf of Chhaya.

    It is working fine in v9.

    Is there any method or way to open webresouce in v8.2 for mobile client?

    Please suggest

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
RichardM Profile Picture

RichardM 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans