Home Analyst Portal

Is it possible to add the "Description" field to the UserRelatedInfoById pending Requests page?

Jason_MeyerJason_Meyer Customer Advanced IT Monkey ✭✭✭

Is it possible to add the "Description" field to the UserRelatedInfoById pending Requests page?


We have a scenario where one of our departments has a lot of tickets pending for specific individuals and are looking for them by Affected User. We don't have 'user' search currently (because we have multiple directories I believe) and finding a ticket without the description can be difficult/time consuming.

As is, the "Description" field is not an available column to add via the column headers.

Appreciate any thoughts/suggestions,thanks!

Answers

  • Gabriel_LencesGabriel_Lences Customer Advanced IT Monkey ✭✭✭
    edited May 2020

    It sure is possible Jason!

    What you need to do is:

    1. Create a folder called Administrator in inetpub/Ciresonportal/Customspace (if you don't already have one)
    2. Copy the relateduserinfo.js from inetpub/Ciresonportal/Scripts/forms/templates into the Administrator folder which you created in step 1
    3. Edit the copied .js , specifically this part below (Requests tab): notice the propertytodisplay line contains all the stuff you want to show there, you can reorder the attributes as you please which should reorder the default columns in the page. I've already put the description atribute in there after ID , but you can reorder these in any way you want!
    4. Save the .js , refresh the page and you should be good to go!
    5. If you want a full depth read on how to create custom forms, so you can do this by yourself in the future anytime, check out the following kb article: How To Create Custom Forms for Cireson Portal
                    /*********/
                    /** TAB **/
                    /*********/
                    {
                        name: "Requests",
                        content: [
                            {
                                customFieldGroupList: [
                                    {
                                        name: "UserRequest",
                                        rows: [
                                            {
                                                columnFieldList: [
                                                     { name: "", type: "multipleObjectPicker", PropertyName: "MyRequest", ClassId: "F59821E2-0364-ED2C-19E3-752EFBB1ECE9", PropertyToDisplay: {Id:"Id",Description:"Description",Title:"Title","Status.Name":"Status",LastModified:"LastModified"},ShowAddButton: false, ShowRemoveButton: false, SelectableRow: true, SelectProperty: "Id" }
                                                ],
                                            }
                                        ]
                                    }
    
    
                                ]
                            }
                        ]
                    },
    
Sign In or Register to comment.