Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

I am trying to make a custom function to connect a Zoho Survey score into a custom field we have in a task layout for the QA Score. I need to input the custom field API name on the script, but I don't know how to get it. I've tried using the following script to get it but when I execute it the specific custom field I need is not showing up in the execution response even though the other ones are there. 

var = zoho.projects.getPortals("zprojects");
portalId = var.getJson("portals").getJson("id");
projectId = "";
taskId = "";
taskFields = invokeurl
[
url :"https://projectsapi.zoho.com/restapi/portal/" + portalId + "/projects/" + projectId + "/tasks/" + taskId + "/"
type :GET
connection:"zprojects"
];
info taskFields;
return "success";

1 user has this question.
1 Reply
Reply
  • 19 days ago

Hi, Donna! 

To get the custom field details within a Task Layout, you can refer to the following API guide. 


The API response will only include custom fields that have values filled in. Empty custom fields will not be included in the response.

Hope this helps you. For further assistance, please contact us at support@zohoprojects.com

Reply to DonnaA
/* */
  • 12
  • Insert
  • Plain text
Add Comment
(Up to 20 MB )