Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Beginning development with Webservices C#
SteveClements
OK, Hi!
I am new to worksite development and looking for some guidance on beginning development with it!
I have been playing with the webservices, but was also interested in the API that I have heard of...where can I download this? Or is the webservices the best way to go??
Thx
Steve
Find more posts tagged with
Comments
wwest
That depends - I think web services are only going to be available if you are using WorksiteWeb. IWOV does have some expensive asp.net controls available for going against WorksiteWeb - so that may also be an option for you. I have had limited expereince with the COM API, but I think that would be mainly for desktop development, not web stuff (but i may be wrong).
SteveClements
Hi wwest,
I have looked at the webparts/controls for asp.net. They are nice, but pretty expensive and overkill for what we want.
The problem I have with the webservices is the lack of data retrieved, for example the name/description of the document is not returned in the document object?
That seems crazy to me!
I would agree that using the webservices would be ideal for a web based solution, but the COM API is so much richer...
Do you know a way to get things like document names, size and other such properties?
wwest
I my case we are retrieving contents of folders, and we can get any info about a document that we wish....here is a snippet of how we did it:
Dim testinput As New IWOVServices.GetFolderContentsInput
Dim testoutput As New IWOVServices.GetFolderContentsOutput
Dim ObjectID As String = "[your object id here]"
Dim OutputMask As String = 21 'IWOVServices.OutputMask.Profile
Dim foo(2) As IWOVServices.imProfileAttributeID
Dim conn As iManage.WorkSite.Web.Proxies.Connection
conn = New iManage.WorkSite.Web.Proxies.Connection("
http://[your
worksitewebsite]")
'---here's where i defined what we will be getting back:
foo(2) = IWOVServices.imProfileAttributeID.imProfileName
foo(0) = IWOVServices.imProfileAttributeID.imProfileComment
foo(1) = IWOVServices.imProfileAttributeID.imProfileDescription
testinput.ObjectID = ObjectID
testinput.OutputMask = OutputMask
testinput.OutputProfile = foo
...rest of code
hope this helps...