I have a custom solution that automates adding a linked record and auto-filling some fields, and the app is wired to a button. Every time the button is pressed, the sidebar opens to the app. I imagine this is totally expected behavior, and desirable for most custom app implementations, but is there any way to get the app to run “in the background” without opening the sidebar? I’ve noticed, for instance, that if someone clicks the button from the expanded record view, rather than directly from the grid, the sidebar goes full screen and my user testing shows people are getting confused by this takeover and having trouble finding their way back to their original context. Can we just prevent the sidebar from opening somehow?
Solved
Run custom app without opening sidebar?

Best answer by Kamille_Parks11
Brian_Frank wrote:
Thanks @Kamille_Parks! I’m looking into the viewport documentation, but just to clarify…
- You mention it’s possible to control the size of a custom app. Does that mean I can explicitly set the size and thereby prevent the app from entering fullscreen? Or are all custom apps by default forced into fullscreen mode when you have a record expanded?
- I’m unclear on your comment that you can’t determine that a button was clicked from the expanded record view vs. the grid. I have a button field that opens my custom app, and it doesn’t seem to matter whether you click the button in an expanded record or in the grid (the only difference being, as implied above, that doing so from within an expanded record automatically forces the app into fullscreen mode).
For reference, I have some of my code pasted in this thread.
Yes.
Correct. What I’m saying is there is no way to say “if someone clicked the button when the record was expanded, do x”
The closest thing to what you’re asking is telling the app to exit full screen every time it enters full screen.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.