Skip to main content

78a8a9c6424945799083e45a05167542bd022758.png




Is the Name field in your Project Model?  


yes



Is Opportunity__r.Name in your model?  Or whatever the name of your custom lookup field on Project to Opportunity is.


Or Maybe BLND_Opportunity_Link__r.Name


feda2308fb5234efcfd3e56ef9c6e89016550622.png


The project model is loaded on page model?


95bb556b3e2ae5971635cc9d82dc01fb14327824.png

I was tinkering before with all the settings. This is what I think it should be.


Oh, I hadn’t noticed that you had “Load Model Data on Page Load” set to false.  Since this is the case, no query is made to look up the opportunity’s name.  You’ll have to work around this issue by either sending the name as another parameter, or having another model that gets the opportunity’s name.


That was it. Added a model to hold the ID of the Opp (PassedInOppID), then set a condition on the Project model  BLND_Opportunity_Link__c to be the  Opportunity ID of the PassedInOppID model.

Thanks


Correct!  If you are creating new records in your page -  you either need to bring in prepopulated data in multiple parameters (which gets messy)  or include another model that loads the data you want prepopulated.  Thanks for clarifying the situation Ben.  


Reply