Scott,
Thanks for your response. I checked and double-checked and the names I used ARE the schema names. Still not working. Below is what I posted to the author on the blog.
Thanks,
Glen
I have been trying for two days, but I can't seem to get this to work. Any help would be greatly appreciated.
Details
----------
Two custom entities:
1. Client Info (schema name: cpdc_clientinfo)
2. Matter (schema name: cpdc_matter)
> Client Info record can have multiple Matters associated with it.
> When displaying a matter, The Client Info picker displays the client NUMBER, but not the name. Trying to use this solution to display that client name on the matter form without duplicating the data.
Implementation
------------------------
My WR Properties: lookup=cpdc_clientnumberid&entityName=cpdc_clientinfo&fields=cpdc_clientname&labels=Client Name
> cpdc_clientnumberid - name of the fild on the matter form that is the picker for the related Client Info entity
> cpdc_clientinfo - name of the custom entity I'm trying to retrieve per previous blog comment above.
> cpdc_clientname - name of the field from the custom entity I'm trying to retrieve and display.
When I pull up the matter form, the WR field that should display the client name is just a div with blue background. NO DATA.
When I debug, It throws an error as indicated below. Seemingly showing that retrieveReq.status IS NOT equal to 200.
function retrieveReqCallBack(retrieveReq) {
if (retrieveReq.readyState == 4 /* complete */) {
if (retrieveReq.status == 200) {
//Success
entity = JSON.parse(retrieveReq.responseText).d;
LoadTable();
}
else {
--> throw new Error("Error retrieving Record");
}
}
}
I am in desperate need of getting this to work. ANY HELP WOULD BE GREATLY APPRECIATED!!
Thanks,
Glen