Where is the equivalent to GetUserProfileByName? Do I need to use Java?
Are you trying to do that in Forms or Workflow?
If you want to list a persons manager into a list item, you can use the query user profile and in the common fields, pull back the manager field for the person who initiated the workflow or you can set that to a variable, have the user enter the person they want to find the manager for and go from there.
It really depends on what you are trying to do, but this can be done within Nintex workflows easily.
We're trying to evaluate the tool so we're novices. I'm trying to develop a relatively simple form for requests and approvals. With InfoPath, we didn't have to go through workflows. Where can I find tutorials or do they now exist?
Best Regards,
Steve
Steven E. Bonde
User Support Program
Energy Systems Integration Facility (ESIF)
National Renewable Energy Laboratory (NREL)
Office - 303-275-4653
Cell - 720-443-9784
Steven.bonde@nrel.gov
So, I have can't find the query user profile. Is that a workflow command?
Best Regards,
Steve
Steven E. Bonde
User Support Program
Energy Systems Integration Facility (ESIF)
National Renewable Energy Laboratory (NREL)
Office - 303-275-4653
Cell - 720-443-9784
Steven.bonde@nrel.gov
Understood and thanks for the preface.
You can do some of the same features with Nintex Forms as InfoPath, but not everything. You don't need a workflow to query the user profile, its just easy to do it that way.
Here is the code you can use in the Form to retrieve the manager:
NWF$('#' + varManager).val(GetUserProperty(data,"Manager"))
this will get Manager value
For more info on this, check out this post...
Nintex Forms Managers name into people picker
Thanks Eric,
I was hoping I wouldn't have to use Java either. I guess I'll have to learn it.
You may be hearing from me a lot while we evaluate the software.
Best Regards,
Steve
Steven E. Bonde
User Support Program
Energy Systems Integration Facility (ESIF)
National Renewable Energy Laboratory (NREL)
Office - 303-275-4653
Cell - 720-443-9784
Steven.bonde@nrel.gov
Steve, while it may be pertinent to do some things in the forms, you may consider having it update the manager after the form is submitted. If you go that route, you should be able to use a workflow to set that if you want to avoid javascript. SPD or Nintex can do that for you.
I understand not using javascript on some things but some things. Let us know if we can help out in the future as you evaluate the tools.
Steve,
Just went through the form again while doing something else and found something in the runtime functions that can be useful. Actually don't remember seeing it before.
In the calculation value column, you can access the userProfileLookup function that is part of the runtime functions. That may be a great place to start.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.