Hello Sachin,

On 20.01.2014, at 13:19, Sachin Gupta <ching...@gmail.com> wrote:

> Map tag as per refrence pdf is only used for mapping  to the database
> fields when used in ODBC mode.

No, mapping is generic, for all types of database.

> We are using file based system.
> Can <map> be used for file based systems?
> Can you point me to a reference/sample of specifying this <map> field?

See 11.34.41 in the manual, <fieldmap>. You certainly have a <fieldmap> in your 
config, even with a text file based datastore. Most probably however you also 
have a <automap/> within <fieldmap>, which auto-maps all internal fields.
Now, to redefine one of the mappings with a custom version, you can use 
<mapredefine>, see 11.34.41.1 in the manual.

Something along the lines of:

  <datastore ...>
    ...
    <fieldmap fieldlist="xxx">
      <automap/>
      <mapredefine name="NOTE" type="string" references="NOTE" size="25"/>
    </fieldmap>
    ...
  </datastore>

Best Regards,

Lukas Zeller

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to