Class can not be used in custom code deployment

0 votes
if I can't import App42API how can I use the users service inside my custom code ?
asked Jun 29, 2014 in App42 Cloud API-BaaS by moddib (27 points)

1 Answer

0 votes


You can create ServiceAPI instance to call userService method like i have explained below:

ServiceAPI app42ServiceAPI = new ServiceAPI("APIKey","SecretKey");

UserService userService = app42ServiceAPI .buildUserService();

userService.createUser(................,.);    // Pass the input parameter and run it.

Let me know if it helps.



answered Jun 30, 2014 by hs00105 (517 points)
edited Jun 30, 2014 by hs00105
It's ok : thank you !

What about the possibility of overwriting an existing customcode ? it's boring to remove it manually in the management console.
Thanks for your suggestion.
Currently you need to undeploy first your old custom code jar from AppHQ management console and deploy it.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on