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)
About Document Type and Class
piyush123po
Can anone tell me how to handle all types and classes of a Document in a single statement.
Here is the code which i am using.
Dim type As IManage.IManDocumentType
type=Global.session.PreferredDatabase.GetDocumentTypeFromPath(DocPath)
DocPath is the path of the document.
but this code doesnot return the type for .dll, .exe, .config, .db, xml and there are some more types of documents which this code doesnot handle.
Please get me back asap.
Thanks
Piyush Gupta
Find more posts tagged with
Comments
Pawan
Hi Piyush,
Which TS, OS versions are you using?
The .dll, .exe, config and db files may not be returned by this code, as any undesirable change may lead to bigger problem, however the xml files should be returned by the code.
BTW, what is your purpose?
piyush123po
Hi Pawan,
I am using 8.0 version of worksite. But it doesnot return doc type for all docs.
So if u can send me some sample code, that would be really very helpfull.
Thanks
Piyush Gupta
Pawan
If you are using WS, there is a different category for that thread, please close this thread and proceed under the WorkSite forum.