Reply
Regular Contributor
jgreene
Posts: 33
0
Accepted Solution

Formula that pulls Campaign I.D.

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

Trusted Contributor
Laxman Rao
Posts: 166
0

Re: Formula that pulls Campaign I.D.

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.

Laxman Rao M.
If this post is your solution, kindly mark this as the solution to the post so that others may benefit.
Trusted Contributor
phiberoptik
Posts: 273
0

Re: Formula that pulls Campaign I.D.

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?
Regular Contributor
jgreene
Posts: 33
0

Re: Formula that pulls Campaign I.D.

YES!!!

 

Thanks so much - that works perfectly!

 

Man, that was easy:)

 

Thanks once again!

 

-JG