Am I Using ServerAPI Best Practices?
I am creating a server extension and I recently got into trouble by using Client API classes where I should have used Server API classes. I wanted to make sure I was on the right track.
I was using .itemManager().fetchCompleteItem from ITeamRepository to convert a handle to an item.
I will be replacing it with .fetch from IRepositoryItemService
I was using ITeamBuildClient and ITeamBuildRecordClient to get and save build definitions and build engines.
I replacing these with ITeamBuildService
Am I on the right track?
|
Accepted answer
Hi Andrew,
as discussed, yes "IRepositoryItemService" and "ITeamBuildService" will be services you need to be using for your server side programming for the operations you were trying to use "ITeamRepository", "ITeamBuildClient" and "ITeamBuildRecordClient". Thanks, Jorge. Andrew Soloninka selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.