User (Legacy) Posted January 7, 2005 Report Share Posted January 7, 2005 Hello, Like the person from the post below (reposted here [where it belongs] after finding elsewhere on the web) I want to save all of my chart configuration (titles, legends, category bar selections, etc) but NOT the data. The reason for this is I want to be able to load up-to-the-minute data and then overlay the settings (ie 'show me the Quarters of some date and the "All" of some other dimension' on the latest data). It appears this is where the new enum member FileMask.ReuseExtensions comes into play. I cannot get it to work however. The discussion below says save your settngs, reload your data Import BUT it does not show the FileMask. I am using the following: _chart.FileMask = FileMask.Colors | FileMask.Elements | FileMask.ReuseExtensions | FileMask.Fonts | FileMask.General | FileMask.Labels | FileMask.Multi | FileMask.Pictures | FileMask.Scale | FileMask.Titles | FileMask.Tools; On Import, It applies some of the settings but not the most important one which is the Cartegory Bar selections. An example from SoftwareFx would help. Thanks, Tyler 7/24/2004 11:26:03 AM Exporting and the OLAP Extension Greetings, When exporting a chart using the OLAP Extension, I notice the data gets exported as part of the Extensions node of the XML. This occurs even when you use a FileMask setting that excludes data as part of the export. When you import the chart, the data that appears as static. We need to find a way to export a chart that uses the OLAP Extension, saving the snapshot of the layout of the chart (dimensions selected, category bar filters, etc.) and somehow make the data dynamic when the chart is imported. Any ideas? Thanks in advance for your help XXXX XXXX XXXX XXXX Corp. 8/5/2004 5:29:19 PM Re: Exporting and the OLAP Extension Hi, We have been working on this issue and we feel we are very close to release a new version that would support your scenario. I am posting this to make sure we are on the right track. Some background facts: - When you export a chart we use the file mask which by default includes everything (data, extensions and other settings not relevant for this discussion) - When you export a template we use a builtin file mask that does not include data or extensions. Note that templates are important in this discussion because we use them to support Personalized Charts. - Saving data in an OLAP chart is key because we use this persisted chart on the client side (web scenario) who has no access to the data layer. - We cannot modify what gets saved by default because this would break compatibility with existing apps - When a chart with extensions is read, the previous list of extensions is removed. To support saving OLAP state with no data we are implementing the following a) OLAP will honor the FileMask.Data flag. Note that even if you do not change the MDX statement, just running at a different time may result in different Dimension Levels or Values. In Time Dimensions executing the same statement at the end of a year or the beggining of next year results in different values (1997,1998 against 1997,1998,1999) A new FileMask flag (FileMask.ReuseExtensions) that allows to read the extension list reusing the objects (if the extension is already attached to the chart) In the new scenario you can add ReuseExtensions and remove Data from the FileMask, then you can import this settings chart over a chart that already has the OlapExtension with new data. Note that the order here is CRUCIAL, data should be read first. This solves the Windows Form scenario but not on the Web. We are considering different options to allow personalized charts with OLAP state to be persisted correctly. We would appreciate any feedback you can provide, JC SoftwareFX Support Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 11, 2005 Author Report Share Posted January 11, 2005 Setting the FileMask as follows works: _chart.FileMask = _chart.FileMask | FileMask.ReuseExtensions; "Tyler Ford" <tyler_ford@hsihealth.com> wrote in message news:mgnTKaR9EHA.1116@webserver3.softwarefx.com... > Hello, > > Like the person from the post below (reposted here [where it belongs] after > finding elsewhere on the web) I want to save all of my chart configuration > (titles, legends, category bar selections, etc) but NOT the data. > The reason for this is I want to be able to load up-to-the-minute data and > then overlay the settings (ie 'show me the Quarters of some date and the > "All" of some other dimension' on the latest data). > > It appears this is where the new enum member FileMask.ReuseExtensions comes > into play. > I cannot get it to work however. > > The discussion below says save your settngs, reload your data Import BUT it > does not show the FileMask. > I am using the following: > _chart.FileMask = FileMask.Colors | FileMask.Elements | > FileMask.ReuseExtensions | FileMask.Fonts | FileMask.General | > FileMask.Labels | FileMask.Multi | FileMask.Pictures | FileMask.Scale | > FileMask.Titles | FileMask.Tools; > > On Import, It applies some of the settings but not the most important one > which is the Cartegory Bar selections. > > An example from SoftwareFx would help. > Thanks, > Tyler > > > 7/24/2004 11:26:03 AM Exporting and the OLAP Extension > Greetings, > > When exporting a chart using the OLAP Extension, I notice the data gets > > exported as part of the Extensions node of the XML. This occurs even when > > you use a FileMask setting that excludes data as part of the export. When > > you import the chart, the data that appears as static. > > We need to find a way to export a chart that uses the OLAP Extension, saving > > the snapshot of the layout of the chart (dimensions selected, category bar > > filters, etc.) and somehow make the data dynamic when the chart is imported. > > Any ideas? > > Thanks in advance for your help > > XXXX XXXX > > XXXX XXXX Corp. > > > > > > 8/5/2004 5:29:19 PM Re: Exporting and the OLAP Extension > Hi, > > We have been working on this issue and we feel we are very close to release > > a new version that would support your scenario. I am posting this to make > > sure we are on the right track. > > Some background facts: > > - When you export a chart we use the file mask which by default includes > > everything (data, extensions and other settings not relevant for this > > discussion) > > - When you export a template we use a builtin file mask that does not > > include data or extensions. Note that templates are important in this > > discussion because we use them to support Personalized Charts. > > - Saving data in an OLAP chart is key because we use this persisted chart on > > the client side (web scenario) who has no access to the data layer. > > - We cannot modify what gets saved by default because this would break > > compatibility with existing apps > > - When a chart with extensions is read, the previous list of extensions is > > removed. > > To support saving OLAP state with no data we are implementing the following > > a) OLAP will honor the FileMask.Data flag. Note that even if you do not > > change the MDX statement, just running at a different time may result in > > different Dimension Levels or Values. In Time Dimensions executing the same > > statement at the end of a year or the beggining of next year results in > > different values (1997,1998 against 1997,1998,1999) > > A new FileMask flag (FileMask.ReuseExtensions) that allows to read the > > extension list reusing the objects (if the extension is already attached to > > the chart) > > In the new scenario you can add ReuseExtensions and remove Data from the > > FileMask, then you can import this settings chart over a chart that already > > has the OlapExtension with new data. Note that the order here is CRUCIAL, > > data should be read first. > > This solves the Windows Form scenario but not on the Web. We are considering > > different options to allow personalized charts with OLAP state to be > > persisted correctly. > > We would appreciate any feedback you can provide, > > JC > > SoftwareFX Support > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.