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
- :
- General Development
- :
- Formula that pulls Campaign I.D.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Formula that pulls Campaign I.D.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-09-2012 09:45 AM
Hi all!
I'm trying to have a field on a campaign page layout that, upon creation of a new campaign, automatically pulls the campaign id from the URL and plugs it into the new field.
However, I am not finding any info on how to actually have a formula pull that url string.
Any help on the above would be most appreciated!
Thanks!
-JG
Solved! Go to Solution.
Re: Formula that pulls Campaign I.D.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-09-2012 10:44 AM
might have created a formula field which will take the record id of the campaign.
Go to the fields of campaign object and check the field expression of the field which is populating the id.
If this post is your solution, kindly mark this as the solution to the post so that others may benefit.
Re: Formula that pulls Campaign I.D.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-09-2012 11:27 AM
Create a formula field (Text output) on the Campaign object. Make the formula: Id
This field will now display the 15 character ID for the Campaign object. If you want the 18 character ID, just make the formula: CASESAFEID(Id)
Got KUDOS?
Re: Formula that pulls Campaign I.D.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-10-2012 12:42 PM
YES!!!
Thanks so much - that works perfectly!
Man, that was easy:)
Thanks once again!
-JG

