Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
vera carreira
2
Views
22
Comments
Input box with the same variable
Question
Hi.
I have a input box when i write a code, automaticaly shows description in other input box (description).
I need to do more than one Input box associated with the same variable.
It is possible?
How can i do?
Thanks
Paulo Tavares
Staff
Hi Vera,
You cannot have the same variable bound to different inputs. What are you trying to achieve? Maybe doing so with a structure with two attributes would be the best way.
Regards,
Paulo Tavares
vera carreira
Hi.
I need repeat variable code and description like a table to introduce different values and send by e-mail (is not necessary write in database).
One
row
,
it works, but i can have multiple rows.
Something like this:
I'm new in Outsystems and i don't know how to do...
It is possible?
Paulo Tavares
Staff
Hi Vera,
What about using a Table Records, with Inputs instead of Expressions? Is it a fixed number of lines, or a variable one?
Regards,
Paulo Tavares
vera carreira
Hi.
The number of rows is variable (i prefer), but can be fixed.
Can i use a table records with inputs instead of expressions?
Can you help me? How can i do?
Note: Is not
necessary to
insert
into the database, only send information by e-mail
Thanks
Paulo Tavares
Staff
Hi Vera,
The way I would do it is the following:
- Have a screen with a local variable of Record List data type, and Record definition being a structure with 4 attributes, in this case: Code, Description, Price_1, Price_2
- Use that variable as source of the Table Record;
- Change the expressions in the Table Record to inputs, pointing to the same variables (which should be something like <TableName>.List.Current.<Structure>.<AttributeName> )
- Have a button that adds a new line to the table. That button executes an action which appends a new line to the list variable, and refreshes the Table Record widget.
Does this make some sense?
I hope this at least gets you started. Let us know how it goes, and feel free to ask about whatever is not clear or doesn't make much sense at first, as well as to send over your eSpace :)
Regards,
Paulo Tavares
vera carreira
Hi Paulo.
Yes, it does.
I try to do, but doesn't work.
In Table Record
doesn't
appear inputs (only "no items to show") .
Can you help me?
Send the attached file
with the
example
Thanks
Teste.oml
Nuno Roxo
Hello Vera!
If I understand well, you want a dinamic table, and when you change the number automaticaly refresh the name.
I'm sending to you a solution to do that and a flash movie to see if is the expected behaviour.
Best Regards
Nuno Roxo
Test.rar
vera carreira
Hello Nuno.
Yes, that's it :)
Thank you very much for your help.
Regards
Nuno Roxo
Welcome Vera
We are here to help you!
Best Regards!
vera carreira
Hello!
I need send by e-mail the table with values.
Table values
aren'
t
show
in the
email message.
How can i do?
Thanks
Paulo Tavares
Staff
Hi Vera,
In the e-mail, you should send the values in expressions, and not in inputs.
Are you doing so?
Regards,
Paulo Tavares
vera carreira
Hi Paulo.
i'm sending the values in expressions, but values
do not
appear
.
Can you help me?
Thanks
Paulo Tavares
Staff
Hi Vera,
If you want to send over your eSpace, maybe someone can look into it. It might be easier to see what the problem is.
I would assume that you would pass the list as a parameter of the e-mail, and re-render the table records using that list.
Regards,
Paulo Tavares
vera carreira
Hi Paulo
I think i'm not doing well re-render the table records using list.
Send my eSpace.
Thanks
EnvioEmail.oml
Paulo Tavares
Staff
Hi Vera,
The List variable in your e-mail should be an Input Parameter. You should then, from the "Enviar Email" action pass the List to the Email's input parameter. Use that list as the source for the Table Records. That way it should work.
I hope that makes sense and that it helps.
Let us know how it goes!
Regards,
Paulo Tavares
vera carreira
Hi Paulo.
Can you give me an example?
Thank you
Nuno Roxo
Hello Vera
Take a look at my example...I hope it helps!
Any question you have tell us!
Cheers
Nuno Roxo
Teste.oml
vera carreira
Hello Nuno.
In my project have an error: "Error creating Email. index 1 is out of range"
Can you help me?
Thanks
Nuno Roxo
Hello Vera,
Your problem is when you are creating the list to show in your email...
You are trying to assign to your list a array position that does not exist...
Can you send me your eSpace?
Best Regards
Nuno Roxo
vera carreira
Hello Nuno.
Can i send you my eSpace by e-mail?
Thanks
vera carreira
Hello Nuno.
Thank you for your help.
Thanks
Nuno Roxo
Welcome Vera, anytime!
Best Regards
Nuno Roxo
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
 Loading...