Home General Discussion

SCSM View - XML Code

CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

Dear All,

I have created a view in SCSM using some xml code.

When trying to promote it though it doesn't show the option?

Thanks

Daniel

Best Answer

Answers

  • CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

    To follow on from this I have created a view in XML using [Me]. I can now promote it ok and can see all incidents using the [Me] but once its promoted it does show the incidents? I can see them in the console ok though?

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    What do you see in the Portal .vs the console?

    Thanks,

    Shane

  • Mikkel_MadsenMikkel_Madsen Customer Advanced IT Monkey ✭✭✭
    edited November 2020

    This article says you can not use the [me] token on promoted views

    How To: Promote a View from the SCSM Console to the Portal (cireson.com)

    Views that cannot be promoted

    Some views cannot be promoted due to technical difficulties. You may be able to recreate them instead as 'Saved Searches'

    CI - All views under Computers folder

    CI - All Business Services

    CI - All Printers

    CI - Software

    CI - Software Updates

    CI - Users

    RA - any view using Reviewers

    WI - Runbook Automation Activities

    Any view using the Me Token

    Any view using a Relative Date Time Token

    Views built with Advanced View Editor (from Technet)

    Any view that is using a projection with > 2 levels of component nesting

    All fields added from view builder Custom Columns

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Good spot @Mikkel_Madsen I forgot this was the case!!

    What you could do here is do a SQL table and use the @UserId in the Portal...

    e.g.

    SELECT * FROM Dbo.WorkItem

    WHERE AssignedUser = @UserId

    That could be added to a SQL Table/chart widget and used as a view if you like!

  • CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

    Anyway you can do this without creating a widget?

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Yes you could do a custom page but this just seems like even more work that is not necessary!

  • CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

    How would the custom page be setup?

Sign In or Register to comment.