Hi,
Below is the requirement.
TAB A is bind with HTML web resource which call to web service and in return JSON is send back.
Half of the data i need to display in TAB A HTML webresource and remaining need to display in another TAB B which is again bind with HTML webresource.
Please suggest
Thanks
Aniket
*This post is locked for comments
Hi,
There is one workaround probably , if you create a function and trigger form load event and then data stored in a global object. Once you stored the global object then you can access the object using window.parent.CRM_OBJECT.
I understand that these OBJECT are created in the form onload instead of HTML tab.
var CRM_OBJECT = []; function LoadData() { $.ajax( { type: "GET", async: false, contentType: "application/json; charset=utf-8", datatype: "json", url: URLODATA, beforeSend: function (XMLHttpRequest) { XMLHttpRequest.setRequestHeader ("Accept", "application/json"); }, success: function (data, textStatus, XmlHttpRequest) { for (var j = 0; j < data.d.results.length ; j++) { CRM_OBJECT[j] = { firstName: data.d.results[j].FirstName, lastName :data.d.results[j].LastName }; } }, error: function (XmlHttpRequest, textStatus, errorThrown) { alert('ODataSelect Failed: ' + textStatus + errorThrown + odataSelect); } }); }
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156