Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

How set Model Item Attribute Property Programmatically?

$
0
0

Hello,

  I am assigned to maintain a Datamodel, I am a newbie to SSRS .The requirement came was --Hovering (mouse pointing over datamodel attribute)  should include description along with the attibute name.

 eg: If the move the mouse over an attribute called "Status" in report builder , it should show something like" Status indicates if this person is active (A) or non active (N)".The client want description for all the fields like this so that the report building can be done by any newbie to the system. So the solution I found was putting the detailed description of the attribute under the description property of the attribute so that when the report builder place the mouse over the attribute it will show the description as well for about 5-6 seconds. My problem is the volume of change-- there are around 3000 attributes in the model, and changing one property at a time is a not a good efficient solution.Is it possible to do it programatically.

Is there a way by which I can write a function to retrive the property value from a table or a config file in the format  PROPERTY - DESCRIPTION.  Thanks in advance.

     <Attribute ID="G4c173b36-19fb-421a-b260-c9ab35622cdb">

              <Name>Branch</Name>

             <Description>777</Description>

              <DataType>Integer</DataType>

              <Nullable>true</Nullable>

              <SortDirection>Descending</SortDirection>

              <Width>2</Width>

              <Format>g</Format>

              <DiscourageGrouping>true</DiscourageGrouping>

              <ValueSelection>Dropdown</ValueSelection>

              <Column Name="Branch" />

            </Attribute>


Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>