Skip to content

Added pp-form-event-handler#17

Open
metjuperry wants to merge 2 commits intoTALXIS:masterfrom
metjuperry:master
Open

Added pp-form-event-handler#17
metjuperry wants to merge 2 commits intoTALXIS:masterfrom
metjuperry:master

Conversation

@metjuperry
Copy link
Copy Markdown
Member

@metjuperry metjuperry commented May 26, 2025

Example call:

$tom_handlerId = [guid]::NewGuid()
$tom_libraryId = [guid]::NewGuid()


dotnet new pp-form-event-handler --output "src/Solutions.DataModel" --EntityName "tom_warehouseitem" --SolutionRootPath "Declarations" --LibraryUniqueId $tom_libraryId --HandlerUniqueId $tom_handlerId --FormGUIDId "6e78f092-216b-4131-acf5-37e4cebafbdb" --FormType "main" --LibraryName "ntg_examplelibrary" ` --EventType "onload" --FunctionName "Test.TestTest.OnLoad" --PassExecutionContext true

dotnet new pp-form-event-handler --output "src/Solutions.DataModel" --EntityName "tom_warehouseitem" --SolutionRootPath "Declarations" --LibraryUniqueId $tom_libraryId --HandlerUniqueId $tom_handlerId --FormGUIDId "6e78f092-216b-4131-acf5-37e4cebafbdb" --FormType "main" --LibraryName "ntg_examplelibrary" ` --EventType "onchange" --AttributeName "fieldToChange" --FunctionName "Test.TestTest.OnChange" --PassExecutionContext true

@TomProkop
Copy link
Copy Markdown
Member

Adding form event handlers to the Data Model solution is not a good example 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants