AnsweredAssumed Answered

Adding to a field the contents of portal rows consecutively

Question asked by NaturSalus on Feb 6, 2014
Latest reply on Feb 6, 2014 by philmodjunk

Title

Adding to a field the contents of portal rows consecutively

Post

     Hello,

     What I would like to do is to be able to click on the desired rows of a portal and add consecutively their contents to a file.

     So, let's assume that I have the following portal with contents in 7 rows.

     Row 1:  1 1/2 cups all-purpose flour

Row 2: 2 1/4 cups old-fashioned oats 

Rwo 3: 1 1/2 teaspoons ground cinnamon

Row 4: 3/4 teaspoon baking soda

Row 5: 1/2  teaspoon salt

Row 6: 1 cup granulated sugar

Row 7: 2 large eggs

     Now, I would like to be able to:

     a) either adding the contents of the portal to the Cook::Recipe field

     b) or being able to click in each portal row so that the contents are added to the Cook::Recipe field.

     whatever it is easier to set up.

     Can this be done by scripting?

     The usual way to add just the content of a portal row to a field is using the Set Field, List and Substitute script steps

     Set Field [Cook::Recipe; Substitute(List Portal::Amount; Portal::Unit; Ingredient::iName); ¶ ; " ")

     but every time that the Set Field script step is run it overwrites the Cook::Recipe field.

      

     Thanks

      

      

Outcomes