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
- :
- Apex Code Development
- :
- How to create tab or objects using apex
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to create tab or objects using apex
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-01-2013 06:57 AM
Hi,
I am new to SF. can we create an object/tab and fields using APEX and visual force alone without using any of the customization functionality of salesforce.
i know we can implement business logic using controller/triggers etc but is it possible to create object itself and sameway fields, validation rules, formula for the fields etc etc.
Please clarify me.
Re: How to create tab or objects using apex
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-01-2013 11:40 AM - edited 01-01-2013 11:41 AM
As far as I know, there are no commands in apex to do that, but you can use the metadata API (http://www.salesforce.com/us/developer/docs/api_me
If this post solves your problem/issue/question, please mark it as solution.
SFDC Certified Developer
Re: How to create tab or objects using apex
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-01-2013 07:40 PM
Thanks for the reply.
It is my bad, i posted my question wrong. How to create Tab in Visual force.
Meantime, you introduced me to metadata API. i went through few tutorials and video, just wondered what would be the advantange of using metadata API when the same can be possible using point and click. Just curious to know.

