Creating a UXF Client Declarative Action in ServiceNow Service Operations Workspace (Add button)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • Steps for creating a UXF Client Action, Related List Declarative Action that uses the multi record associator component in Service Operations Workspace or any Configurable Workspace. This is duplicating the Add affected ci's functionality.
    Ashley Snyder's article:
    www.servicenow...
    Relevant tables:
    sys_declarative_action_assignment
    sys_declarative_action_payload_definition
    sys_ux_addon_event_mapping
    Other copy pasta:
    record_page_tabs_1 = Source element ID in sys_ux_addon_event_mapping
    Target payload mapping JSON:
    {
    "type": "MAP_CONTAINER",
    "container": {
    "route": {
    "type": "JSON_LITERAL",
    "value": "mra"
    },
    "size": {
    "type": "JSON_LITERAL",
    "value": "lg"
    },
    "fields": {
    "type": "MAP_CONTAINER",
    "container": {
    "label": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["label"]
    }
    },
    "userGivenTable": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["userGivenTable"]
    }
    },
    "table": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["table"]
    }
    },
    "parentRecordSysId": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["parentRecordSysId"]
    }
    },
    "parentFieldName": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["parentFieldName"]
    }
    },
    "referencedFieldName": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["referencedFieldName"]
    }
    },
    "extensionPoint": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["extensionPoint"]
    }
    },
    "view": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["view"]
    }
    },
    "columns": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["columns"]
    }
    },
    "type": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["type"]
    }
    },
    "hideSelectAll": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["hideSelectAll"]
    }
    },
    "relatedListName": {
    "type": "EVENT_PAYLOAD_BINDING",
    "binding": {
    "address": ["relatedListName"]
    }
    }
    }
    },
    "params": {
    "type": "JSON_LITERAL",
    "value": {}
    }
    }
    }

ความคิดเห็น • 8

  • @msquared3166
    @msquared3166 ปีที่แล้ว +1

    Excellent way of putting Ashley’s article to video! I’ve been struggling with this for the last couple days. Thank you for taking the time and great job of explaining what all the pieces do. Priceless ! Keep ‘em coming! Cheers!

  • @daillew1990
    @daillew1990 6 หลายเดือนก่อน

    Can anyone explain how to correctly set up the M2M table for the affected users that's shown right at the beginning of this video?

  • @rahuldev8542
    @rahuldev8542 6 หลายเดือนก่อน

    How to set the default filter to that modal that opens up when clicked on the Add button

  • @Somnath_Snow
    @Somnath_Snow 6 หลายเดือนก่อน

    Heyy!
    I want to create a Cancel incident button in Sow . When clicked it should me a pop up to fill the cancellation reason in the pop up itself. I tried with ui action but no luck. And i am not able to find proper way to do this., i think it can be done by UXF client actions , which is already there OOB for resolve incident.
    Can you help me on that please?

  • @abzownexperiences410
    @abzownexperiences410 ปีที่แล้ว +1

    Can you please let me know that how to configure Response Templates in contextual side pannel to service operations workspace? TQ

    • @jayscrillins1475
      @jayscrillins1475 8 หลายเดือนก่อน

      I've been looking to do the same thing. Did you figure out how to do it?

  • @Sonusuchhi
    @Sonusuchhi ปีที่แล้ว

    Im trying to create a retire button on entity to controls 😅 it’s a struggle. I’m unable to place the conditions for visibility control