Add custom label to all reports programmatically

  • Hi,

    We have thousands of report through out our organisation and would like to add a text box to the bottom of all of them so that these could be blocked from being sent out of the organisation. Has anyone done anything similar and managed to find and automated way of doing this?

  • One, it would NOT be easy to do.   You'd have to know exactly where in the xml of each report the necessary additional XML would need to go, and unless you're prepared with backup copies of all the RDL files, that could get nasty in a hurry.   I wouldn't recommend it.   You'd also have to verify each one before you put it back into production, plus you'd have to download all those RDL files to a common folder to begin with (unless you have them in source control, where at least then you could copy them from the source control folder, try the automated method, and then verify each one before you pass it back into source control.   Honestly, I'm not sure it would save you enough effort to be worth the hassle if you get it wrong even once...   especially if there's no source control folder already in existence.

    Steve (aka sgmunson) 🙂 🙂 🙂
    Rent Servers for Income (picks and shovels strategy)

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply