Angular Template for a Basic Epicor Web App Using Rest

@Mark_Wonsil suggested that someone should come up with a few templates for typical things users want to do with Epicor external apps. I had a bit of time last night so I have published a quick template / tutorial of how I would build an angular app to interact with an Epicor API.

I chose Angular because this is the same language / framework that Epicor Kinetic UX uses and it would be useful to learn it for most people who are going to be working in Epicor as FT Developers or Engineers.

If someone else has time I’d love to see similar for plain JS, React, .NET Core etc.
@hkeric.wci tag you are it!

Code is Available Here

I put quite a bit of work on the read me file to explain how to run it I also commented as much as possible. I am copying and pasting the read me below but I will not keep this post up dated as I make changes when people run into stuff the original read me in github will be updated. (though now that I think about it maybe I can Iframe it in here…

That’s too much work, just go to the github and look at the read me, the App I made in the template looks like this

AppWalkThrough

And should work for anybody who has Epicor with Rest V2 out of the box.

If someone tries it out let me know how it goes and if you run into any issues.

15 Likes

Seems to me someone wants to take over the top of the Nice Topic leader board! :wink: :joy:

3 Likes

shhhhhhhhhhhh don’t give away my secrets, I’m trying to compete with @timshuwy :joy::joy:

1 Like

Hey… you got another badge… not fair… hahaha :rofl:

I could probably share my “Epicor Bridge” app (.NET Core) if anyone’s interested a “backend-for-frontend” app that @josecgomez helped me with a year or so ago.

6 Likes

@Aaron_Moreng Please!

2 Likes

Alright, let me clean it up and I’ll make an article

3 Likes

Wohooo it worked
image

2 Likes

I hope this is not too stupid a question. I’ve just started to play with Angular. I’ve done a few REST (V2) calls from .NET successfully, and some knowledge of Epicor’s BPMs.
We have Kinetic 11.2.400 (2024) and we are On Prem. We have not yet gone LIVE with Epicor, but I can already see that we’ll need some customization.

Where do I set up the URL for to run this locally? Our url is something like
https://our server/KinecticTest/apps/home

I looked for “yourserver…” but I can’t see where to set the URL.
This is the error I get…
“Http failure response for https://yourserver.tld.com/YourEpicorInstance/TokenResource.svc/: 0 Unknown Error”

Welcome Mary Jo!

Have you seen the REST Technical Reference yet?

1 Like

its in the environment.ts file.

2 Likes

Not yet, but it looks like good reading.
This will be a great help. Thanks!

1 Like

Thanks, man!!