0

filter to return Project info

Hi,

Im trying (without success) to filter out all the the project info fields that are visible.

in the ui the Info box is set to a css class called 'project_info_fields'.

I know that we cant hook on the website style sheets to filter info I cant workout a way in the api to return all the Project Info fields.

 

This kinda maps out what I want to achieve

filters = [

["id", "is", project_id],
["description","is", {value:"Project_info"}], #look in the info box
["visible", "is", {value:True}] #filter out switched off fields

]

fields = [all] #return all fields???

project_info = sg.find('Project', filters, fields)

is this doable?

thanks for any help/direction

Steve

0件のコメント

ログインしてコメントを残してください。