Skip to content

Docs: Custom Hook Examples showcase TS and TSX but type: external only loads .js #2002

@tegge

Description

@tegge

What were you searching in the docs?

I was looking for the proper implementation of a custom Hook for "onSave" in example to check reachability of the domain entered in a field of the Configuration page.

Is this related to an existing documentation section?

https://splunk.github.io/addonfactory-ucc-generator/custom_ui_extensions/context/custom_hook_context/

How can we improve?

Please update https://splunk.github.io/addonfactory-ucc-generator/custom_ui_extensions/context/custom_hook_context/ to describe, how a tsx/ts csutom-hook would be loaded? The globalConfig example only loads .js files.

Got a suggestion in mind?

found the switch --build-custom-ui for the build command. Please update the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtriagePending triage from maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions