Ok. My dynamic click to call with call log popup is working great. Just a few refinements and it’s good to go. One of those things will be to add the necessary code to grab the id of the field even if the field is not in the model.
Now to keep things easy to manage on the call log interface, I’m going to keep the page include page. Otherwise I’d put it into the popup XML string. That said, I’d like to be able to dynamically create the necessary models to support wherever the user clicked from on the phone number.
- OwnerId is no problem
- Whatid is no problem
- AccountId could be tricky as can be applicable when whatid is Accout, Opportunity, Contract, any child of the Account, or if whatid any other object but whoid is contact, then the contacts accountid is used
- Whoid is a lead or contact. If a lead then whatid is null
Please don’t provide any code. If anything just reference the Skuid API. I’d like to do this one where I type it out on my own.