Not entirely sure what’s going on here, but I am getting the follow error when I click on a button that launches a popup, close that pop up and click on the “+” to add an event to the calendar
"1. Invalid Model ‘UIModel’ on Field Editor component. This Model’s Id may have been changed, or the Model may have been deleted. "
Video demo b/c i’m clueless here.
Help, please?
Josef,
Would you post the XML for your models on this page.
Thanks,
Bill
IF({{Category__c}}=="Marketing Support","#b4dfdb",
IF({{Category__c}}=="Training & Development (Not Customer Facing)","#fdb2ba",
IF({{Category__c}}=="Customer Care Support (No Current Opportunity)","#d9dbff",
IF({{Category__c}}=="Master Tenant Maintenance","#ffda94",
"#FFFFFF")))))
</formula>
</field>
<field id="Contact" uionly="true" displaytype="TEXT" label="Contact"/>
<field id="Id"/>
<field id="Meeting_Date__c"/>
<field id="Type"/>
<field id="CreatedById"/>
<field id="CreatedBy.Name"/>
<field id="Start_Date__c"/>
<field id="EventType" uionly="true" displaytype="FORMULA" label="EventType" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">
<formula>IF({{Category__c}}=="Presales Opportunity Support", "Presales Opportunity Support",
IF({{Category__c}}==“Marketing Support”, “Marketing Support”,
IF({{Category__c}}==“Customer Care Support (No Current Opportunity)”, “Customer Care Support”,
IF({{Category__c}}==“Master Tenant Maintenance”, “Master Tenant Maintenance”,
IF({{Category__c}}==“Training & Development (Not Customer Facing)”, “Training & Development”,
“New Event”)))))
row.updated
StartDateTime
{{StartDateTime}}
IF({{Category__c}}==“Presales Opportunity Support”,“#c1dbed”,
IF({{Category__c}}==“Marketing Support”,“#b4dfdb”,
IF({{Category__c}}==“Training & Development (Not Customer Facing)”,“#fdb2ba”,
IF({{Category__c}}==“Customer Care Support (No Current Opportunity)”,“#d9dbff”,
IF({{Category__c}}==“Master Tenant Maintenance”,“#ffda94”,
“#e9e9e9”)))))
</formula>
</field>
<field id="Contact" uionly="true" displaytype="TEXT" label="Contact"/>
<field id="Id"/>
<field id="Account" uionly="true" displaytype="REFERENCE" label="Account" ogdisplaytype="TEXT" datasource="salesforce" precision="9" scale="2" targetobjects="Account">
<batchfields/>
</field>
<field id="Opportunity" uionly="true" displaytype="REFERENCE" label="Opportunity" ogdisplaytype="TEXT" datasource="salesforce" targetobjects="Opportunity">
<batchfields/>
</field>
<field id="Campaign" uionly="true" displaytype="REFERENCE" label="Campaign" ogdisplaytype="TEXT" datasource="salesforce" targetobjects="Campaign">
<batchfields/>
</field>
<field id="Related to" uionly="true" displaytype="PICKLIST" label="Related to:" ogdisplaytype="TEXT" picklistsource="manual" defaultvaluetype="fieldvalue" defaultValue="Opportunity">
<picklistentries>
<entry value="Opportunity" label="Opportunity"/>
<entry value="Account" label="Account"/>
<entry value="Campaign" label="Campaign"/>
</picklistentries>
</field>
<field id="EventType" uionly="true" displaytype="FORMULA" label="Event Type" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">
<formula>IF({{Type__c}}=="Training", "Training Event",
IF({{Type__c}}!=“Training” & ISBLANK({{Type__c}}), “New Event”,
“Customer Facing Event”))
&
Josef,
I wanted to make sure that there weren’t any model actions that might affect your popup. All looks good.
I would recommend that you examine your page include ‘page’ and check if any models have the same name as models on the ‘calendar’ page that you show in your video. If you have the same model name on the page include, it will update/overwrite the model on the ‘parent’ page. This could be why you are seeing an empty popup.
I also wanted to ask if you are using the same page include ‘page’ for the Log an Event button and in the custom popup for the Calendar.
Thanks,
Bill
Bill,
You’re a genius! This is definitely something to write down.
Thanks a ton!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.