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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Web resource On Mobile

(0) ShareShare
ReportReport
Posted on by 587

Hi

i'm trying to open a web resource linked with button ribbon button click event from CRM mobile Application but i'm getting http error 500 - Internal server error but in The browser it's working 

i already set that web resource to "Enable For Tablet" but i'm receiving the error 

This is my code 

var val = Xrm.Page.data.entity.getId()  
    var DialogOptions = new Xrm.DialogOptions();
    DialogOptions.width = outerWidth - 100;
    DialogOptions.height = outerHeight - 100;
    Xrm.Internal.openDialog('/WebResources/ets_Quote_Asset?id=' + val, DialogOptions, null, null, function (result) {
        Xrm.Page.data.refresh();
    });


Any idea about it 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hai Abdul Mounem Al Hamwi,

    Please do check if you have followed these instructions :
    http://www.inogic.com/blog/2016/02/access-web-resources-from-dynamics-crm-tablet-and-mobile-apps/

    If you have followed it as mentioned above, then I think the reason could be the usage of ribbon button.
    Refer this link: https://community.dynamics.com/crm/f/117/t/201182

    Thank you :)

  • Abbod Hamwi Profile Picture
    587 on at

    Hi

    thanks for replaying

    can you check the link

    it's not working

  • Verified answer
    Community Member Profile Picture
    on at

    Oh sorry. Do check the link now :)

    www.inogic.com/.../access-web-resources-from-dynamics-crm-tablet-and-mobile-apps

  • Abbod Hamwi Profile Picture
    587 on at

    Hi

    thank you

    i already found the link and this solved my issue

    i will not be able to use same code i use it before (Link it with button) so i make it inside the form

    Thank you

  • Andrew M Simpson Profile Picture
    on at

    Apologies for resurrecting an answered thread, but it's only 3 weeks old, and I'm having the same issue.

    Following the steps on the Inogic page, I've got the web resource or iFrame showing for an entity form on the tablet preview, but I can't get it to show on the mobile preview, or on a mobile device.

    I've double checked the Inogic checklist, and tried both iFrames and Web Resources. The truth table below sets out the combinations I've tested and the results. We're using CRM Online (2016):

    Dashboard Entity Form
    Client Web Resource iFrame Web Resource iFrame
    Desktop Browser Working Working Working Working
    Desktop Browser Tablet Preview Not Shown
    Not Shown Working Working
    Desktop Browser Mobile Preview Not Shown Not Shown Not Shown Not Shown
    CRM for Mobile App on Android Phone Not Shown Not Shown Not Shown Not Shown

    Any insight into why this might be would be appreciated.

    Thanks,

    Andrew

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans