PDA

View Full Version : [Mondrian] Members.properties("CAPTION")



Thiyagu Palanisamy
04-06-2007, 11:11 AM
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?
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

Julian Hyde
04-07-2007, 04:10 PM
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 (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
On Behalf Of Thiyagu Palanisamy
Sent: Friday, April 06, 2007 7:46 AM
To: mondrian (AT) pentaho (DOT) 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?


_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

Thiyagu Palanisamy
04-09-2007, 08:11 AM
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 (DOT) net>
Subject: RE: [Mondrian] Members.properties("CAPTION")
To: "'Mondrian developer mailing list'" <mondrian (AT) pentaho (DOT) org>
Message-ID: <011901c77950$ac721250$6402a8c0@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 (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
On Behalf Of Thiyagu Palanisamy
Sent: Friday, April 06, 2007 7:46 AM
To: mondrian (AT) pentaho (DOT) 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?

_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

Julian Hyde
04-09-2007, 04:51 PM
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 (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
On Behalf Of Thiyagu Palanisamy
Sent: Monday, April 09, 2007 4:44 AM
To: mondrian (AT) pentaho (DOT) 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 (DOT) net>
Subject: RE: [Mondrian] Members.properties("CAPTION")
To: "'Mondrian developer mailing list'" <mondrian (AT) pentaho (DOT) org>
Message-ID: <011901c77950$ac721250$6402a8c0@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 (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
On Behalf Of Thiyagu Palanisamy
Sent: Friday, April 06, 2007 7:46 AM
To: mondrian (AT) pentaho (DOT) 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?



_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian