Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Configure the ad-hoc report dialog XML

    Posted Sat December 04, 2021 06:54 PM
    MAM 7.6.1.2:

    Is there a way to configure the ad-hoc report dialog by changing the XML?


    For example, add a button or checkbox that would override the read-only "Share" field (when admins duplicate an ad-hoc report).

    Thanks.
    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Configure the ad-hoc report dialog XML

    Posted Mon December 06, 2021 08:35 AM
    There's sort of two answers to this question. All screen XML is stored in the Maximo database and can be modified. For example, in this case in Application Designer you would want to export System XML and export the LIBRARY. Search for id="CREATEREPT" and that's your dialog in the question. You could modify it outside the system and import it, though I personally wouldn't recommend changing a core dialog like this.

    The second answer is I doubt you can override the Share field with screen changes. I assume that edibility is being controlled via a java class.

    Behind the scenes, what marking a report public does is gets the ALLUSERGROUP (typically EVERYONE or MAXEVERYONE, though you can view your specific configuration in the Security Controls dialog of the user application by looking at the Group for All Users) and adds it to the REPORTAUTH table for that report. You can't do this from the UI in the Report application as it enforces a restriction there that the group has the ability to run reports in that app and the EVERYONE group doesn't (and shouldn't) have that permission. What I've done in the past is create an action automation script that added this record so we could make something public when the organization determines that a report needs to be public. 


    ------------------------------
    Steven Shull
    ------------------------------