Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Set a TermSet value via Word 2010 contentTypeProperties

$
0
0

Hello,

I'm working with Sharepoint 2010 Enterprise and Office 2010 STD, I have an Office Addin which save documents into SPS with several document properties which are sync with sharepoint contenttypeproperties inside the document library.

The problem is with Managed Metadata properties, I want set values into a TermSet property programmatically, but I could'nt realize how....

I already try somethings like this:

lCTprop = xoActive.ContentTypeProperties("Autores2010") If Not lCTprop Is Nothing Then Dim lTerm As String() lTerm = Array.CreateInstance(GetType(String), 1) lTerm = loProp.Value.ToString.Split("|")

'(loProp is a CustomDocumenProperty which has the value)

lCTprop.Value = lTerm End If

any ideas??

thanks a lot,

Mauricio.


Mauricio


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>