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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Html Webresource with javascript not working as expected

(0) ShareShare
ReportReport
Posted on by 6

Hello All,

I have use one html web resource which is having some JavaScript code written..

What it does is takes the id of the current record and pass it to the another entity and then retrieves some values and and shows on the html web resource with html tags.

this code is working perfectly fine in the web browser, but it's not behaving correctly in the tablet.

we also have the lookup of the related record on the main form. 

first time load the data do not gets loaded on the web resource, then i goto click on the related lookup to open the associated record.

going to associated record and then coming back to the main form , then web resource displays the data.

is there anything that can be handled or what is wrong in this i am not sure.

previously it was working... i have just added on single line of text field in the javascript retrieval code.

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi Partner,

    Have you enabled your web resource for tablet?

    https://www.inogic.com/blog/2016/02/access-web-resources-from-dynamics-crm-tablet-and-mobile-apps/

    And what's your retrieval code looks like? It would be helpful if you could share some necessary part of the web resource.

    Regards,

    Clofly

  • EmployeeOcta Profile Picture
    6 on at

    Have you enabled your web resource for tablet?  Yes , it is enabled.

    Initially there are 5 fields which are fetched on form load.

    I have added one more field of type single line of text , since then this problem is happening.

    when i am removing this field then it's working .

    for testing i have tested with creation of another field of type option set. but then also it's not working.

    i think there seems to be issue with delayed working and due to that delayed  javascript not working quickly.

  • EmployeeOcta Profile Picture
    6 on at

    Hello All,

    Can anyone help me in , this is becoming the bit trouble now.

  • EmployeeOcta Profile Picture
    6 on at

    Hi Guys,

    I am using javascript function which delays it for 2 seconds. and it's working as expected.

    will that be working in the IPAD?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 107 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 94

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans