Post

3 followers Follow
0
Avatar

Creating Topic Links

Hello,

So far I love working with the Clarizen API, but I'm having trouble figuring out how to add a topic to a project. I see that there is a TopicLink class, but I keep getting the following message; object of a not leaf class 'Topic Link' cannot be created.

If I can't create topic links through the API, is there another way to add a topic to a project? I'm able to create the topic and projects fine.

Thanks,

Justin

Justin Begeman Answered

Please sign in to leave a comment.

4 comments

1
Avatar

Use the TopicWorkitemLink which is a concrete implementation of the abstract TopicLink entity type

Eyal Post 1 vote
Comment actions Permalink
0
Avatar

Thanks for the response.

For future reference is there a list of classes that are used by the API?

Justin Begeman 0 votes
Comment actions Permalink
1
Avatar

Hi Justin,

Use the metadata services such as describeMetadata or listEntities & describeEntities to retrieve that information.

Hope this helps,

Ophir

Ophir Kenig 1 vote
Comment actions Permalink