[Mondrian] Members.properties("CAPTION")

Julian Hyde julianhyde at speakeasy.net
Mon Apr 9 16:45:21 EDT 2007


Thanks Thiyagu. I noticed that we also need FORMAT to be a synonym for
FORMAT_STRING, so generalized your change a little in change 9073. I
also added tests for case-sensitivity.
 
Julian


  _____  

From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org]
On Behalf Of Thiyagu Palanisamy
Sent: Monday, April 09, 2007 4:44 AM
To: mondrian at pentaho.org
Subject: RE: [Mondrian] Members.properties("CAPTION")



As per http://msdn2.microsoft.com/en-us/library/ms145528.aspx 
CAPTION property is same as MEMBER_CAPTION. 

In MSAS 2000 
<Member>.Properties("CAPTION") works 
<Member>.Properties("MEMBER_CAPTION") fails 

In SSAS 2005 
<Member>.Properties("CAPTION") works 
<Member>.Properties("MEMBER_CAPTION") works 

In Mondrian 
<Member>.Properties("CAPTION") works from revision 9066 
<Member>.Properties("MEMBER_CAPTION") works 

Implementation issues: 
CAPTION property is defined as non member property, so we are using
MEMBER_CAPTION when lookup is for CAPTION. 

Thanks 
Thiyagu 

Date: Sat, 7 Apr 2007 13:09:39 -0700
From: "Julian Hyde" <julianhyde at speakeasy.net>
Subject: RE: [Mondrian] Members.properties("CAPTION")
To: "'Mondrian developer mailing list'" <mondrian at pentaho.org>
Message-ID: <011901c77950$ac721250$6402a8c0 at branston>
Content-Type: text/plain; charset="us-ascii"

What does the spec say? What does MSAS do? I'm fine changing it as long
as we are consistent.

By the way, I think you mean <Member>.Properties("CAPTION").
<Dimension>.Members returns a set of members, which of course does not
have a caption property.

Julian


 _____  

From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org]
On Behalf Of Thiyagu Palanisamy
Sent: Friday, April 06, 2007 7:46 AM
To: mondrian at pentaho.org
Subject: [Mondrian] Members.properties("CAPTION")



CAPTION property has been kept as internal property, but this needs to
behave same as MEMBER_CAPTION. 
Any reason why we shouldn't expose CAPTION?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20070409/4b625800/attachment.html 


More information about the Mondrian mailing list