How can I EXPORT selected BO attributes??

Contains tips for configurators working with Aware IM
Post Reply
geoff
Posts: 78
Joined: Fri Dec 14, 2007 2:05 am
Location: Brisbane

How can I EXPORT selected BO attributes??

Post by geoff »

I have a BO which has 50+ attributes. Following a successful PICK ONE OR MORE FROM...query, I then need to EXPORT a csv file of only 6 of those attributes for input to an address bar-code application.
I can easily EXPORT the whole BO, but it is a lengthy exercise to delete the un-needed attributes from the csv-generated file afterwards.
Can anyone tell me how to export only those needed, or perhaps a better way of doing this?

Thanks, geoff
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

geoff,

You could:

1- Create a Non-persisted BO (let's call it ExportStuff) with the attributes that you want to export to csv

2- Use your PICK FROM to select the BO instances to export

3- Use CREATE ExportStuff WITH ..... to create the instances you want to export

4- EXPORT ExportStuff To ....

Hope this helps.

Tom
geoff
Posts: 78
Joined: Fri Dec 14, 2007 2:05 am
Location: Brisbane

Post by geoff »

Thanks a lot Tom, works fine.
Post Reply