0% found this document useful (0 votes)
260 views15 pages

Create Custom SOA To Extract BOM Report in HTML Format 1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
260 views15 pages

Create Custom SOA To Extract BOM Report in HTML Format 1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Custom SOA Creation

1. Create custom Soa Service


1. In BMIDE, Extensions view  select Services and right click New Service Library.

2. Give name to service library and click on Finish.


3. Now click on new service library  right click  New Service.
4. In New Service window, give name and description to the service. And click on Finish.
5. Now open new service. Go to Data Types tab and click on Add. Create Data Types.
6. Create new service Operation.

7. Select service library  right click  Generate code service artifacts.


8. cxx and hxx files created.
9. BMIDE Deployment.

10. Get index.html file

Open Teamcenter command. Change directory to stage folder.

Now run cmd  npm run convertTemplates “model path”


Now copy files from out/soa/json to src/soa/json directory.

Now run cmd  npm run genSoaApi

(** net should be on to see this html file **)


2. Create custom command.
1. Open Teamcenter command. Change directory to stage folder.
2. Run cmds
3. Module is generated.

4. Now create command. For that run cmds in tc cmd.


5. Open command view model. And modify as below.
6. Awbuild.
7. Now write the code to print the bom report in html format.

8. Build code. Generate dll


9. Deploy dll in TC_ROOT/ bin.
10. Open AWC

Select revision click on Create Bom Report command.

It will create html file. Open it.

You might also like