How to bind to a field in an S3 form?

 1 Replies
 0 Subscribed to this topic
 5 Subscribed to this forum
Sort:
Author
Messages
Laura
Basic Member
Posts: 19
Basic Member
    In the mashup I'm building, I want to value from a field on an S3 form to another S3 form when a button is clicked.  To do that, I'm fairly certain I need to use a binding but cannot find any documentation on how to do this.  Does anyone know how to bind to a specific field in an S3 form in a mashup event? The name of my source form panel is AM203 and the field I want returned is AST-ASSET. This is what I've been trying to use, to no avail:

    Value="{Binding ElementName=AM203, Path=AST-ASSET}"

    If I replace the binding with a specific value, the event works, so I know that the only issue is this syntax.
    Vince
    Veteran Member
    Posts: 37
    Veteran Member
      Field elements on the standard S3 forms are named by their field number, "_f10" for example, so the using "Path=_f10.Text" may work. Unfortunately, the element/field name is not guaranteed to be the same after an application upgrade. A better approach, without knowing exactly what you are trying to do, is to use event parameters with their source and target values: SourceName="AM203" SourceKey="AST-ASSET" TargetKey="XYX-DATANAME"