Creating custom boilerplate snippets
- April 28, 2023
- 1 reply
- 3354 views
Hello,
I want to preface this post with saying that I am not very good with Java, so please excuse any glaring rule breaking.
Anyway, I wanted to try and make some company specific boilerplate snippets.
I have managed to create a custom extension and I can import it into my platform correctly.
However when used, it returns a function like;
let ResultTypeName = doSomething();
Instead of what I am returning from the "doSomething" function.
I'm certain I am doing something wrong.
What I want is basically something similar to how the try/catch snippet works, or really almost any other snippet.
I started with following this PTC article and also this document but felt it didn't really cover my needs.
So if anyone has any other resources around this, I'd very much appreciate it if they could post them here.
I'm also uploading my metadata and src file in case it is of interest.
Thanks,
Jens

