XMLPORT - how to return original Fieldcaption

rexonirexoni Member Posts: 2
edited 2014-06-17 in NAV Three Tier


Hello,

Can anyone explain how to return the fieldcaption of the Fields included in the XMLPort from the Table fields.? As Default it Returns the first row with the given NodeName from XMLPort. I would like to have the Field Caption from the Table, but it accepts only the field only.

It is not able to set the field Datasource as = FIELDCAPTION(Prod.Order Line::ItemNo)

Regards,

Rexoni

Comments

  • vremeni4vremeni4 Member Posts: 323
    Hi,

    the field Datasource is used to select how is this field going to be populated when XMLPort is run. (Where does the data come from)
    So I do not understand why do you want to set DataSource to be FIELDCAPTION(Prod.Order Line::ItemNo).
    Except you want to create an XMLPort that will export all field captions from the table Prod.Order Line.

    If you want to change the tag that is exported then use NodeName field.

    I hope this helps.
    Thanks.
  • yukonyukon Member Posts: 361
    Hi rexoni,

    You can refer the XMLPort 5050 Export Contact if you want to export data with header row. I think that what you want.

    Regards,
    Yukon
    Make Simple & Easy
Sign In or Register to comment.