Trying to make an Opportunity Tab from Skuid provided Opportunity Detail from the depository

  • 1
  • Question
  • Updated 3 years ago
  • Answered

This concerns the Opportunity_Details page available on the Skuid Depository.

I'm trying to build an Opportunity Tab based on the Opportunity Detail page because we need the shopping cart / switchable price books for one division in our company. The trouble is that I'm trying to get the Opp Detail page to not reference an existing opportunity ID yet retain the same functions provided in the "Line Items" tab. I've tried sorting through the XML code, making sure the conditions don't reference an external opportunity but to no avail.

My question is whether or not this is something simple I'm overlooking or if it would be easier to build the page from scratch with the same components.



Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb

Posted 3 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Yes. Remove this condition on the Opportunity model.

Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb
I've made sure to delete all the Id = (param) id from all the models yet still references an opportunity. Even deleted many of the models not associated specifically with General & Line Item Tab.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Ok. Do you want to load any records on page load?
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb
Well, the goal is to get the page to behave more like a create new opportunity page. Just put the XML in the sandbox and it appears that it's currently loading any record, since the record extracted in production is different than the one in sandbox.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Set the properties like this on the model. New record is created each time the page is loaded.
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb

That worked brilliantly; however, still ran into some issues on record creation.
Required fields are missing: [Opportunity]

Looking through the XML now to see whether or not I can find it, but ill keep troubleshooting.

(Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
huh? Do you have skype? call me. pat.vachon.77
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb

Got my Skype account back, sent you a request.

(Edited)