function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
wilson34wilson34 

Opening S-control with sidebars/header from VF page (urgent help)

Hello guys,

 

I'm having problem with opening the s-control which has an embede flex object. My problem is I have a custome command button that when the button is clicked, the VF page will call the s-control. The problem is that the page is displayed but it doesn't have a sidebar and header. So what I did at first was to make another VF page that would handle opening the flex object, this works but I need the s-control instead of another VF page. Another option I did was to make a custom button that would call the s-control. This also works but the downside is the Id of the custom button is hardcoded in the URL which  makes the design of the code not so good.

 

any thoughts on this?? I would really appreciate it if you can give any other idea.

 

Thanks in advance.

 

Wilson

HarmpieHarmpie
Change the custom button 'Behavior' to "Display in existing window without sidebar or header" ?