Thanks Lukas,

This worked like a charm.

Regards
Sachin

On Mon, Jan 20, 2014 at 7:09 PM, Lukas Zeller <[email protected]> wrote:
> Hello Sachin,
>
> On 20.01.2014, at 13:19, Sachin Gupta <[email protected]> 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
>

_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to