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

jduran_3

Members
  • Posts

    2
  • Joined

  • Last visited

jduran_3's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. You can view you have and error in the name of parameter in php? Paramter1 vs Parameter1 in the report you lost an "e"
  2. Hi, I'm using the PHP client for call reports of a JasperServer community. Whit the client I can create user, but when I call for put in a role with the examples of this website, i give and error that addRole not Exists!? and cannot add the Role to the creating user. $newUser = new User( 'BI_User', 'superSTRENGTHpassw0rd', 'clever@email.com', 'Business Intelligence User', 'organization_1', 'true'); $role = new Role('ROLE_USER', null, 'false');$newUser->addRole($role); try { $c->userService()->addOrUpdateUser($newUser);} catch (Exception $e) { printf('Could not add new user: %s', $e->getMessage());} The line that fails: $newUser->addRole($role); I have similar problems to add parameters, but with a 404 error of the server. I can't add parameters with the Client PHP Sample code. I don't know if the version of PHP Client is updated or where is the last version or if the version is the problem.
×
×
  • Create New...