官术网_书友最值得收藏!

Selecting which forms are displayed

When browsing the attribute elements in Data Explorer | System Hierarchy , we noticed that the DESC form is always shown but by default the ID is hidden. To change this behavior and decide how the attribute will appear to the end user, we will modify the settings in the Display tab of the Attribute Editor. These settings will affect the way attribute elements are displayed also in dynamic selections and filters which we'll cover in Chapter 8, Dynamic Selection with Filters and Prompts.

Getting ready

You need to have completed the previous recipes to continue.

How to do it...

Let's see how to do it:

  1. In the Schema Objects | Attributes folder, double-click on the Customer attribute.
  2. Select the Display tab, you will find a shopping cart like the one shown in the following screen capture:
  3. In the right part of the cart, select the EMAIL form and remove it from both Report display and Browse by clicking on the small < buttons.
  4. Click on Save and Close and update the schema.

Now if you go to Data Explorer | System Hierarchy, you'll notice that the e-mail address is gone. If you still see it, that's because MicroStrategy Desktop keeps a local cache of attribute elements to speed up the application; in this case you need to refresh the elements. Click on the View menu and select Refresh (F5).

How it works...

This setting affects the default behavior of the entire project when browsing the attribute. You will still have the possibility to change the display forms on a per report basis.

There's more...

You may want the elements sorted by code, for example, instead of DESC.

You can do this from the Modify Attribute Form window. Refer to the screen capture:

There are two comboboxes down on the right-hand side named Report sort and Browse sort.

If you change the second one to Descending (in the screen capture I am sorting the Year attribute), you will see the years' elements sorted backwards. This is especially useful when the users have to select from a dynamic list of years, and you want the most recent to be shown first.

Note

You can watch a screencast of this operation at:

主站蜘蛛池模板: 济源市| 宁阳县| 巩留县| 洪湖市| 江山市| 汝阳县| 临汾市| 滦南县| 青阳县| 齐齐哈尔市| 永和县| 达孜县| 南乐县| 蓬莱市| 海兴县| 清徐县| 资兴市| 营口市| 六盘水市| 耒阳市| 蒲城县| 芦溪县| 承德市| 洛宁县| 汝城县| 江山市| 内乡县| 神木县| 铜陵市| 富平县| 从江县| 观塘区| 额尔古纳市| 西宁市| 乌兰浩特市| 乳山市| 乌鲁木齐县| 甘谷县| 灵山县| 文山县| 贡觉县|