Change the owner name

When ever we create a webI report and save it under the owner column it shows the name/username of the person who created the report.
Is it possible for us to change the name cause we would like to have a generic user to be the owner of production reports.

Thanks


Manasi (BOB member since 2004-12-17)

It is possible through Webi SDK.
Open the document in a DOCUMENT INSTANCE
Object creator = report.getProperties().getProperty(“createdby”);
this gives you the name of the creator. Now there is a method called setProperty() using which you can specify the name which you want to be the owner.

PJ


pj820 (BOB member since 2005-10-07)

Since I am newbie to SDK would you please let me know how exactly to do these steps?

Thanks


Manasi (BOB member since 2004-12-17)

If you are a little familiar with java then you can understand what I did. I posted my code here: Metadata and Universes
Modify it according to your need.
PJ


pj820 (BOB member since 2005-10-07)