Project Creation Using Template ID and Field Name - Function
I wanted to share my successful function that associates a Project Template ID to the auto-create Project Function. I could not find it in my own search, but did realize what I was doing incorrectly so below is the correct function code in case anyone else needs it.
- createMap = Map();
- createMap.put("name",ProjName);
- createMap.put("Software Suite",software_suite);
- // Provide name of the project to be created
- if(software_suite == "VARIABLE1")
- {
- createMap.put("template_id",templateid);
- }
- else
- {
- createMap.put("template_id",templateid);
- }
- response = zoho.projects.createProject(PortalName,createMap);
- info response;