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
trick012trick012 

Visualforce Redirect

I have case object,c1 object and new object.C1 object and new object are both having lookup relationship with the case object.

 

Now, both c1 and new object appears as related list to the case object.When I click on the new button on the C1 Object I have certain field in which people put information.Some processing happens and the processed result should be stored on the fields in the new object.

 

 

So after putting  values in the field on the c1 object,I save it and trigger runs which is suppose to put processed results in the new object.After all this happens,I click on the new new button on on the new object which is a related list on the case object.I see empty fields.

 

All processed values are lost.

 

Can I overide this button and when some body clicks on the override button it shops a new object with results in the fields?.

 

Can somebody please help?

 

 

Thanks,

Trick012

 

 

Shashikant SharmaShashikant Sharma

When you say "I click on the new new button on on the new object which is a related list on the case object.I see empty fields." It will aslways show you screen to insert a new record with fresh values, in case if you have saved any record in new Object in the trigger of your c1 object, you have to clcik on saved record name link, only then you can see that record and values that came through processing.

trick012trick012

 Thanks for helping me with that

 So when I click on the link ,Will it open a new object and show values in the fields on the object.

 How will I Generate a link,Can u please help me with that.

 

Thanks a lot  ,

Trick

 

 

Shashikant SharmaShashikant Sharma

No the link i am talking about is the link that you see in related list records. It will open the detail view of that record.