Can a view with the token [me] be promoted to the portal?
I'm trying to promote a view from the console to the portal and it appears that it doesn't seem to populate. The main aspect of this is use of the [me] token in a WorkItem CreatedBy view (to give analysts - especially first line - an insight into stuff they've created but not been assigned to when it was Completed or Resolved). But alas nothing comes through when the console produces results. We don't have Analystics installed yet but it's in the roadmap.
Best Answers
-
Konstantin_Slavin-Bo Customer Ninja IT Monkey ✭✭✭✭Brian_Wiest said:I do not belive Cireson support a promoted view with [me]. but with 7+ (or maybe 8 double check the release notes)
You can build a SQL dashboard table widget with the @UserId and make is a dashboard page.
5 -
Brian_Wiest Customer Super IT Monkey ✭✭✭✭✭No Analytics required. You will want to have your query pull from the ServiceManagment DB.5
-
Brian_Wiest Customer Super IT Monkey ✭✭✭✭✭Here is an example that will pull all open incidents assigned to the logged on userSelect * From(SELECT wi.WorkItemId as [Id],wi.Title,dsstatus.DisplayString as [Status],dssupport.DisplayString as [SupportGroup],wi.PriorityId as [Priority],Case When wi.AssignedUser IS Null Then 'UnAssigned'Else wi.AssignedUserEnd as [AssignedTo],wi.AffectedUser,wi.Created as [Created],wi.LastModified as [LastModified]FROM [WorkItem] wiLEFT JOIN [Enumeration] enum ON enum.EnumerationID = wi.TierIdLEFT JOIN [DisplayString] dssupport ON dssupport.ElementID=enum.EnumerationIDLEFT JOIN [DisplayString] dsstatus ON dsstatus.ElementID=wi.StatusIdWHERE wi.ClassId = 'A604B942-4C7B-2FB2-28DC-61DC6F465C68'AND wi.StatusId NOT IN('2b8830b6-59f0-f574-9c2a-f4b4682f1681','bd0ae7c4-3315-2eb3-7933-82dfc482dbaf')AND AssignedUserId = @UserId) IncidentsOrder By [Status], [Id] DESC2
Answers
You can build a SQL dashboard table widget with the @UserId and make is a dashboard page.
Being a complete novice to these SQL statements, some guidance from you guys would be most welcome.
BWT it didn't work