How to filter data retrieved from Zoho People for Creator current user and fill form fields?
Friends,
I am looking to import Employee details from Zoho People to a form in Creator and I'm not sure how to go about doing so. What I would like, is to have the required details from Zoho People pulled and populate the into the corresponding form fields for the Creator currently logged in user. Example:
Form :
Request
Fields:
Name, email, department
I have figured out how to connect to and retrieve the required info from Zoho People, but I am stuck(lost) about how to filter that data for the current user. May also be stuck at how to insert the data into the form once it is filtered, but I haven't gotten there yet to know. I have created the following custom function in Creator to get user details but I haven't been able to get beyond that point and I'm not really sure the right question(s) to ask.
list GetEmploy()
{
- empDetail = List();
- response = zoho.people.getRecords("P_Employee");
- info response;
- for each rec in response
- {
- empDetail.add(rec.get("EmailID"));
- empDetail.add(rec.get("FirstName"));
- empDetail.add(rec.get("LastName"));
- empDetail.add(rec.get("Department"));
- }
- return empDetail;
- }
Hope that makes sense. Any help or guidance is greatly appreciated.
Cheers,
Daniel
Sticky Posts
Zoho Creator Developer's Conference 2017 !!!
We welcome all our Creator Developers! You're invited to join us for our annual Zoholics Developers conference August 29th–31st! This is your chance to get training and guidance on Zoho Creator from our most knowledgeable custom app builders. Zoholics Developers is a three-day event where you'll participate in interactive workshops to hone your app-building skills, get questions answered by Creator experts with personal one-on-one sessions, and connect with other Creator developers from around
Share your success story
We would like to hear from our passionate users how much Zoho Creator has changed the way you work and benefited you. If you would like to share your story to us and be featured as a proud user of Zoho Creator, then this is for you. Fill up the form below and if you want to be included in a case study, we will get in touch with you to get further details. So what are you waiting for? Tell us your story. Charles
Zoho Pagesense Resources
Zoho SalesIQ Resources
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Desk Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.