+ Start a Discussion
병훈 송병훈 송 

How to Connect Visualforce Page

I want, clicked  <apex:outputLink value="{!URLFOR($Page.CampaignEdit, cp.Id)}">{! cp.Name }</apex:outputLink>
then go to capmaign detail page(bottom code page)

How to make connect ObjectId in visualforce page

Maybe I setting Url this? force.com/apex/CampaignEdit?Id=7017F000000UKEeQAO
or other way?
병훈 송병훈 송
User-added image
User-added image

I can't write code;;;
Maybe server is broken
Narender Singh(Nads)Narender Singh(Nads)
Try this:
<apex:outputLink value="/{!rec.Id}" target="_blank"> {!rec.Name} </apex:outputLink>

let me know if it works
Narender Singh(Nads)Narender Singh(Nads)
A minor correction
rec.id with cp.id &
rec.Name with cp.name 
<apex:outputLink value="/{!cp.Id}" target="_blank"> {!cp.Name} </apex:outputLink>