In the past I created a help system where when a user clicked on the help icon a lightbox popped over the app and displayed the corresponding help title and text. I am rebuilding this app and moving towards creating a side panel like the image below. The Help tab uses a form tied to a Dataverse database that contains a unique identifier (created by me), the title and the content. What is the best way to hook these up? In my head what I would be doing is this. A user clicks on the help icon. The value of that icon will be used as a lookup value against the help database which will retrieve the help title and help text. How is the best way to do this?
Click on the help icon in the Industry datacard on the left and the help title and text is displayed in the right side form(or do I even need a form?)
My previous endeavor used this code.
UpdateContext({lclPopUpMessage: LookUp('Help Contents', 'Help Field' = "industry", Message) }); UpdateContext({lclPopUpTitle: LookUp('Help Contents', 'Help Field' = "industry", Title) });
Hello @futr_vision ,
I think you've already got most of it figured out by yourself. Each "Lookup()" will have to be set the way you did for each and every help icon, but that's the only hard part I'd say.
Maybe cut it short with a single "LookUp()" like this to save on network resources:
With({_help:LookUp('Help Contents', 'Help Field' = "industry")},
UpdateContext({lclPopUpMessage: _help.Message });
UpdateContext({lclPopUpTitle: _help.Title })
)
Also, I don't think you need the form, just two label to display the value of your variables "lclPopUpMessage" and "lclPopUpTitle".
WarrenBelz
146,653
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional