Apply WorkWithPlus to a Transaction in Native Mobile

Publicado aproximadamente 13 horas atrás por Support WorkWithPlus

Postar um tópico
  • O tópico está bloqueado
Não respondido
Support WorkWithPlus
Support WorkWithPlus Administrador

One of the main differences between WorkWithPlus for Web and WorkWithPlus for Native Mobile is how you apply WorkWithPlus to a Transaction.


Apply WorkWithPlus for Web to a Transaction

Open the Transaction, go to the 'Patterns' Tab, and select 'WorkWithPlus'


NM_Trn_Country_PatternWeb


Apply WorkWithPlus for Native Mobile to a Transaction

WorkWithPlus for Native Mobile cannot be applied directly in the Transaction's 'Patterns' Tab.

To apply WorkWithPlus to a Transaction in Native Mobile, you must first create a Panel, and apply a 'List template'based on a Transaction

To do this, create a new Panel (e.g. 'CountryWW'), go to the Panel's 'Patterns' Tab, and select 'WorkWithPlus'


NM_Trn_Country_Apply_NM


Once the 'Template selector' is opened, select the 'List' category, and choose one of the templates.

You will be asked how you want to initialize the template: Select 'Based on a Transaction', and continue, and then select the Transaction you want to create the Work With.

NM_Trn_Country_Apply

NM_Trn_Country_Apply_Trn


After you choose a Transaction, you can select which components of the 'Work With' you want to generate:

NM_Trn_Country_Apply_Parts


Finally, the WorkWithPlus instance of your initial Panel object will contain all the nodes associated to the Transaction's  'Work With'.

You can check all the generated Panels in the GeneXus 'KB Explorer', under the WorkWithPlus instance attached to your initial Panel.

NM_Trn_Country_Apply_Tabs

NM_Trn_Country_Apply_Tree


Important: Please notice, the initial Panel, the one you applied WorkWithPlus over (in our example, 'CountryWW'), corresponds to the 'List' of the 'Work With', NOT the Transaction. Therefore, any code you write in the 'Source', will only affect the 'List' Panel. To edit the Panel associated to the 'Transaction' node, simply double-click the node. For more details check: Transaction Node in Native Mobile



0 Votos


0 Comentários