Home Service Manager Portal Feature Requests
We appreciate you taking the time to vote and add your suggestions to make our products awesome! Your request will be submitted to the community for review and inclusion into the backlog.

We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has been submitted, vote for that existing feature request (by clicking the up arrow) to increase its opportunity of being added to Cireson solutions.

For more information around feature requests in the Cireson Community click here.

Filter Class for specified Relationship List

Conner_WoodConner_Wood Customer Ninja IT Monkey ✭✭✭✭
Ok, so after searching the Cireson Forum, the Cireson Knowledge Articles, and immersing myself within the files of the Cireson Portal itself, it appears there is no list control customization.

What I mean is the Affected Configuration Items is really just a control defined within "CiresonPortal\Scripts\forms\predefined\relatedItems" and while you can specify how to limit which config items are shown through that list you cannot actually have 2 of those lists like in the SCSM Console.

In the SCSM Console:
  1. Affected Services - (Relationship='System.WorkItemAboutConfigItem' && TargetClass='System.Service')
  2. Affected Items - (Relationship='System.WorkItemAboutConfigItem' && TargetClass='System.ConfigItem')
So as you can see, it is using the same relationship, but it can filter on a per list basis.

So, that is what I am requesting, the ability to have a list control where you specify the relationship, whether it is going to relate another item to the source or target role (opposite of the seed role), and what classes the items must be to be valid.

The perfect scenario is you modify a form like Incident.js in CustomSpace and add in the list like so:
System.Service"}
	PropertyToDisplay: {Id:"Id",DisplayName:"DisplayName"}
}{
	ListDisplayName: "Affected Services",
        type: "CustomRelationshipList",
	Relationship: "System.WorkItemAboutConfigItem",
	RelatedEntityRole: "Target",
        RelatedEntityClassTypes: {"
2 votes

Submitted · Last Updated

Comments

  • Geoff_RossGeoff_Ross Cireson Consultant O.G.
    Hi Conner,
    You can do this with the undocumented multi-picker control.

    {
        name: "Affected Business Services",
        type: "multipleObjectPicker",
        PropertyName: "HasRelatedWorkItems",
        ClassId: "b2a806a6-87f6-0bc9-da74-c27e9ab5a5d7",
        PropertyToDisplay: {DisplayName:"Name",OwnedByOrganization:"Organisation"},
        Scoped: true
    }

    PropertyName: is the Relationship Class Name
    ClassId: is the Target Class Id
    Scoped: if true will show only the above class in the list, if false shows all objects with that relationship.
  • Conner_WoodConner_Wood Customer Ninja IT Monkey ✭✭✭✭
    edited July 2016

    Oh, that's a real surprise!!! .... What about targeting multiple class types?  I'm quite happy that the affected services relationship can be created, just what if we want a third list that would display X number of class types.

    For example:  Another list that would only show items of class type 'Cireson.AssetManagement.HardwareAsset' and 'Cireson.AssetManagement.SoftwareAsset' and 'System.SoftwareItem' 

Sign In or Register to comment.