EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB19405: How can users modify the 'Max number of XML cells' value using MicroStrategy Intelligence Server SDK 9.x?


Community Admin

• Strategy


Users can modify the following value for 'Max number of XML cells' using Strategy Intelligence Server SDK 9.x, as shown below:
 

ka04W000000OgnbQAC_0EM440000002Gxi.jpeg

 
The code sample for changing the value shown above is given below:
 
`Get the Object Source
Set objObjSource = objSession.Component(DssRoleObjectSource)
`To have access to a project`s governing settings it is necessary to first access the Server definition stored in the project`s metadata as detailed in the following sample code:
Dim objSearch As IDSSSearch
Dim objServerDef As IDSSServerDef
Dim MyFolder As IDSSFolder
Dim objProjRef As IDSSProjectReference
'Search for the Server Definition object'
Set objSearch = objObjSource.NewObject(DssTypeSearch)
objSearch.NamePattern = "Strategy Tutorial" 'Specify the Server Definition'
objSearch.Domain = DssSearchRepository
objSearch.Types.Add (DssTypeServerDef)
Set MyFolder = objSearch.Execute
Debug.Print "Count" & MyFolder.Count
Set objServerDef = MyFolder.Item(1)
objServerDef.Setting(DssServerMaxXmlNodes) = "500020"
`Finally, save the project server definition and apply the changes.
objServerDef.Info.Save
 


Comment

0 comments

Details

Knowledge Article

Published:

June 9, 2017

Last Updated:

June 9, 2017