function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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

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

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