Jump to content
We've recently updated our Privacy Statement, available here ×

Add new attribute in jasper server with dynamic value


rajasekhar_1

Recommended Posts

Hi jasper master,

                                I am new to jasper , I want one server attribute in jasper server like   name as user and its value should be dynamic  . I reffered the JasperReports-Server-Admin-Guide in that static values only shown . I want dynamic values for the attribute.

value should be user name who logged in the server . is it possible ?

    I am using this attribute in data source definition . I need one data source it should connect different  DB in one(same) server , all  DB names in the server like user names only  and having same entities with different data.

so if one user connected to server I want to access that DB data for report .  hope you understand my problem.

kindly suggest the above

Thanks

Rajasekhar

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Although I do not completely understand your requirement here but this link may provide some usefulness in understanding how datasource attributes work. So attribute values can be explicitly defined at either the user profile, organization or server level or inherited. How they are referenced depends on how the attributes are configured in the data source definition 

http://community.jaspersoft.com/wiki/setting-data-source-attributes-generates-error-attribute-host-not-defined-user-profile

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...