ProjectEntityProperties
Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored.
Table Specific Information
Entity-properties are key-value pairs stored against the project entities. They can be used for storing details that are needed for API integrations but don't have to be visible in the UI. Key has to be a String and the Value could be a simple string or a json object. You can store multiple key-value pair for a single entity. These entity properties can be stored / retrieved / updated / deleted using the below queries.
Select
- PropertyKey is required to retrieve ProjectEntityProperties.
SELECT * FROM ProjectEntityProperties WHERE PropertyKey = 'key1'
Insert
To add a new Project Entity Property specify the PropertyKey and PropertyValue fields.
INSERT INTO ProjectEntityProperties (PropertyKey, PropertyValue) VALUES ('key1', 'This is a test value')
Update
ZohoProjects allows updates for the PropertyValue column.
UPDATE ProjectEntityProperties SET PropertyValue = 'This is an updated property value' WHERE PropertyKey = 'key1'
Delete
Project Entity Properties can be deleted by providing Id, PropertyKey and issuing a DELETE statement.
DELETE FROM ProjectEntityProperties WHERE PropertyKey = 'key1' AND Id = '166135000000035001'
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Project Entity Property Id. |
PropertyKey [KEY] | String | False |
Project Entity Property Key. |
PropertyValue | String | False |
Project Entity Property Value. |