Hello! I am really in need of your help please. Couldn’t find any related topics so posting one but do direct me if ever this has been discussed here before.
I have a grid table in my form and i wanted to show this grid table in a summary page.
is there a way to convert a grid table to text in an html format using a script step?
when you say “show in a summary page” do you mean show data from a table (that you first show in datagrid) in a Porta2 page?
Or do you want to generate a document (HTML to PDF) and then show that?
I have this grid table from my page and want if possible to display the data entered here in my email with same table format. And is it also possible to compute the USD rate of the entered value in the Remarks?
Example:
123,000 CLP (Chilean peso) is 130.42 USD (this value will be place in the Remarks field)
I have an SQL getting the USD rate but I have to refer to the currency that is stated in the Currency field.
I hope I am clear and get a solution from this dilemma that I have been working on for the past week
Then add a custom button to your table portlet and you can send mails from there.
This is what comes in the mail body:
Now the data you want to include in the HTML table you can come from a select or can come from what is currently in the table portlet if you create an Input table variable “InputTable” in the start step of the flow behind the button.
Hi Ivan!
This is super super big help! Thank you so so much! Another question, my currency rate is from an SQL Query where I pass the Currency code. How do I handle that part?
Thank you once again my guru!
Regards,
Faye
Thank you Ivan I just realize that now. This is such a big help especially for flow which doesn’t have much guide on the internet for newbies like me.
Thank you!
Sorry me again. I would totally understand if you won’t reply but I just want to give it a try again.
I have this scenario now below base on your example. My big problem is calling my SQL passing the value from the grid table and the output back to the grid? hope i make sense.
And again thank you so much for your big help.
I’m assuming that you are looping through each record to query the rate to then use that to get the USD value. If so, after getRate(2) you need to have a script step with:
let usdTbl = tblBidInfoGrid with [UnevalPriceUSD: UnevaluatedPrice * getRate(2)] where Currency = :selCurrencyCode;
return usdTbl;