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
suresh.csksuresh.csk 

How to Pass a recordID to various VF pages without using URL parameters

Hi.

 

Having the below  Objects for example.

1.MyParent(Parent).

2.MyChild(Child).

3.MyXObject

 

Using VF page#1 a record is created in the  MyParent.

In page#2 a record created for the MyXObject.

In page#3 a record created for MyChild and  MyParent record ID is related.

 

From page#1 to page#3 I need to pass the record ID ,not through URL parameters.

To say in simple I need to hold the MyParent record ID till the user logout.

All the above 3 objects use different Apex Class.

 

Any idea is greatly appreciated .

 

cheers

suresh

 

 

stephanstephan

You could try saving the id in a custom setting. See the following post for a good overview:

 

http://blog.jeffdouglas.com/2010/02/08/using-hierarchy-custom-settings-in-salesforce-com/

 

...stephan