Referring to Deck's Context in a Table inside the Deck?
I have a Deck showing various Opportunities.
I have under this deck a Table that uses the Opportunity ID of the current deck context row to show Activities related to that Opportunity (WhatID on Activity).
I want to be able to create a new Activity and use the OpportunityID (current deck context) as the WhatID when creating the new Activity. Is this possible? I don't see how to go about finding the current deck card's fields (the Id field specifically) to refer to when creating a new Activity row.
Thanks!
I have under this deck a Table that uses the Opportunity ID of the current deck context row to show Activities related to that Opportunity (WhatID on Activity).
I want to be able to create a new Activity and use the OpportunityID (current deck context) as the WhatID when creating the new Activity. Is this possible? I don't see how to go about finding the current deck card's fields (the Id field specifically) to refer to when creating a new Activity row.
Thanks!
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
I set up the button set with OpportunityModel and context as you suggested. When creating the new row in the Activity model from the button I specified the WhatId = Formula({{Id}}), grabbing the Id in context of the Opportunity in the current deck card and it worked.