Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Visualforce Development
- :
- Re: Embedding Standard Page Layout in VF Page
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Embedding Standard Page Layout in VF Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-15-2011 11:10 PM
I have designed a VF page and there is a section to generate a new task. So i wonder is there any way that i can just embed the Task Standard Paglayout in my VF Page as i dont want to hardcode the layout. Apart from that i have multiple layouts assigned to different different profile and my VF page will be accessed by all these profile .
So if there is no other way, then i have generate a section for each profile and render them accordingly. but if there is any change in the pagelayout then i have to modify my VF page also. so i dont want to use this approach.
If anybody have any solutuion then please help me.
Re: Embedding Standard Page Layout in VF Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-16-2011 01:02 AM
I think you'll need to use an apex:iframe to pull in the standard new task page, as there's no standard component that allows you to get at the New page for an sobject.
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter
I don't respond to private messages/emails asking for help.
Take the Bob Buzzard Sobject Fields quiz.
Re: Embedding Standard Page Layout in VF Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-16-2011 02:00 AM
Thanks for the prompt reply.
but i think that wont solve my purpose as well. As i want to grab the page block sections part only not the buttons. Also i want to controll the task creation from other sections in the VF Page.
is it possible in that way?
Re: Embedding Standard Page Layout in VF Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-16-2011 04:42 AM
In that case I think you'll need to recreate the sections on your VF page. You should be able to alleviate the worst of things by using field sets to control which fields get output. Here's a blog post of mine on the subject:
http://bobbuzzard.blogspot.com/2011/02/visualforce
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter
I don't respond to private messages/emails asking for help.
Take the Bob Buzzard Sobject Fields quiz.
Re: Embedding Standard Page Layout in VF Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-16-2011 05:01 AM
Thats exactly what i am using rightnow but just checking if anybody know better solution than this.
As in this case also, i have to create multiple fieldsets as per record type and profile and have to render that particular fieldset the current record type and profile.
Thanks for taking interest in my problem...
Re: Embedding Standard Page Layout in VF Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-16-2011 06:27 AM
Yeah, that is a bummer. I was hoping to be able to iterate all the field sets defined for an object and decide programmatically whether to use them, but that doesn't work either.
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter
I don't respond to private messages/emails asking for help.
Take the Bob Buzzard Sobject Fields quiz.

