Hi,
Thanks for you reply. Since I am using the Visual Studio .NET 1.1, I
already have the object Id information as specified by you and it has XMLDATA
in the tag.
When user saves the report I store the XML Metadata on the server and the
following tag is stored for Custom Grouping:
<x
ivotField>
<x:Name>Dr Specialty1</x:Name>
<x:SourceName>[Dr Specialty].[Dr Specialty1]</x:SourceName>
<x:FilterCaption>Dr Specialty</x:FilterCaption>
<x:Orientation>Row</x:Orientation>
<x
osition>2</x
osition>
<x:CompareOrderedMembersBy>UniqueName</x:CompareOrderedMembersBy>
<x:AutoSortOrder>Custom</x:AutoSortOrder>
<x:OrderedMember>
<x:Name><7667EA04-03F7-41C1-B771-F87F0072193B></x:Name>
<x:UniqueName>[<7667EA04-03F7-41C1-B771-F87F0072193B>]</x:UniqueName>
<x:Caption>TestGrp</x:Caption>
</x:OrderedMember>
<x:OrderedMember>
<x:Name><4791D606-38E2-455C-9080-1BA2B55964B4></x:Name>
<x:UniqueName>[<4791D606-38E2-455C-9080-1BA2B55964B4>]</x:UniqueName>
<x:Caption>Other</x:Caption>
</x:OrderedMember>
......................
I would like to change the value for the XML tag <x:OrderedMember>
<x:Name>.
My Question:
1) Is there a way I can change some settings in the Pivot Component which
would save the custom Name
or
2) How do I change this programatically. I extract the XML Metdata from
the Pivot table by
frm1.PivotTable1.XMLData
The above property gives me the system generated Id for the Custom Group
Name and not the User Changed value. How do you think I can achieve this?
If I am not clear let me know how.
Thanks and waiting to hear options from you
I am OK to write code to change it. But how do I do it. I call the web
service
with the parameters
service.svcOLAP.callService(onSaveReportResult, 'SaveReport', strEmailId,
strReportXMLData, strReportname, strReportcmt);