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
dreamrealdreamreal 

Create Several Visualforce pages from one button click

Here's what I want to happen:

 

From the object account a user clicks a button called "generate line summaries".

 

(Background: Each Account can have several "lines", a line is an object with a lookup field to the account.)

 

So when the user clicks the button, a line summary(a visualforce page), is generated for each line associated with the account.

 

The way I've been trying is to have one visualforce page created which creates several iframes, but with iframes you can only hard-code the source. I need a way that will work with any number of lines.

gv007gv007

Iine object have any fields.

 

generate line summaries--->This summaries is data is saving any custom field,Can you explain about yours problem.

dreamrealdreamreal

Im sorry I dont understand

dreamrealdreamreal

Could you explain further?