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)

adding Html Screens with in CRM entities

(0) ShareShare
ReportReport
Posted on by 161

Hi Experts,

I have to add html screens in CRM 2013 below i am listing the requirements

  1. Create one html page for contacts
  2. Embedded it in Account screen
  3. Whenever we open existing Account screen then we should show all contacts associated to that account in the html sub grid.
  4. Inline editing should be allowed for contacts. User will select the contact record then system should allow to edit the records without opening it in new screen.
  5. User should be able to add new contact record  and delete existing record.

please provide any sample codes and how to approach it please suggest some solution.

thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rajkumar Rajaraman Profile Picture
    on at

    Nagaraj,

    Refer the following article:

    msdynamicscrmblog.wordpress.com/.../build-dynamic-html-table-and-display-on-entity-form-using-javascript-and-html-web-resource-in-dynamics-crm-2011

    For CRM 2013 serverUrl you can use this,

    var serverUrl = Xrm.Page.context.getClientUrl();

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • Nagaraj M Profile Picture
    161 on at

    thanks for your reply

    can't we use REST library instead of ajax because i don't have much idea on ajax code please suggest one more way of doing it

  • Verified answer
    Surmeet Singh Profile Picture
    3,075 on at

    Hi Nagraj,

    We can surely use REST. Examples are given in SDK and MSDN.

    msdn.microsoft.com/.../gg985387.aspx

  • Verified answer
    ScottDurow Profile Picture
    21 on at

    If you want a fully featured editable grid I suggest you check out www.SparkleXRM.com

  • Nagaraj M Profile Picture
    161 on at

    adding grid means is same as adding html screen ? can't we edit the list through html screen displayed on entity?

  • Verified answer
    Surmeet Singh Profile Picture
    3,075 on at

    Hi Nagraj,

    Adding grid is same as adding html screen is the only way. To edit the values in the grid you need to have textboxes instead of just showing the values directly.

  • Nagaraj M Profile Picture
    161 on at

    thanks for your reply

    can anyone suggest me how can we make it as editable by adding textboxes please provide some sample code that could be very helpful for me

    thanks a lot

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hello Nagaraj,

    You could refer various post available to develop jquery/javascript editable grid, Also you should refer the samples suggested already like www.SparkleXRM.com is a very good option instead of looking sample code here because it won't be feasible to put all code here.

  • Verified answer
    Surmeet Singh Profile Picture
    3,075 on at

    Hi,

    The textboxes can be added like

    var row = document.createElement("tr");

    var nameCell = document.createElement("td");

    var element = document.createElement("input");

       //Assign different attributes to the element.

       element.setAttribute("type", type);

       element.setAttribute("value", account.Name);

       element.setAttribute("name", type);

       //Append the element to the column

       nameCell.appendChild(element);

       row.appendChild(nameCell);

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