Welcome to the Axosoft Community, Sign in | Register | Help
in Search

Project Custom Fields

Last post 01-24-2008, 1:17 PM by Dan Suceava. 1 replies.
Sort Posts: Previous Next
  •  01-24-2008, 9:05 AM 14760

    Project Custom Fields

    Is there a way to get or add custom fields to a Project?

     

    Right now I must get the dataset using ProjectHandler.GetAllProjects()

     

    Then parse thru the rows and use GetByProjectId for each row to return an object with the custom fields.

     

    I realize that the original dataset returned by GetAllProjects() includes a column for the Custom  filed but the column names are Custom_xxx. I need to compare the "Field Label" not the acutal Column name. If I run my app on a different database, the custom fields may have different Custom_xxx values due to the order that they were inserted.

     

    If this is not possible could it be put on the feaure list to be able to retreive Custom Fields about Projects in a future release?

    Filed under:
  •  01-24-2008, 1:17 PM 14768 in reply to 14760

    Re: Project Custom Fields

    The only way to set the custom fields is by updating the projects one at a time.  If you're just trying to get them by label, you could just get one project object and grab the list of custom field name and labels from it, then loop through the project dataset.

    I've added a request in our system to add the ability to get the list of custom fields for projects.


    Dan Suceava
    http://www.axosoft.com
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software