Hello, last video, we generated a jar file, which I have my share template with my icons here and I need to use this share template in my ADF application. So the first step I will do I will copy the boss offices JAR file and the little scary new application in a publication my IV use share templates template application or we can use sheer template application nickers nickers nickers to finish Okay, this could be to model quickly Do we entity object if you object and fish Okay, so, this is our ADF application and I need to use my cheer template here. So what you can do you should add this jar file in this project ViewController project perverts so I will go to the View Controller property in the library and class Boss, I will edit your file and I will point to my shared PDF template short file and I bris So, I will add my shared if template here is a view controller and the breeze Okay.
Now, my template icons everything in The shirt my shirt template exists here is a view controller. So let's now try to create a beach I should see this template exists in the options is a template option option so I will create a page as you can see here, my shirt template exists is the first one and I will call this maybe movies and you'll before you will find only this four options but because I add the jar file, so my share template become one of these options and I press OK. So now in the big template you will find that our face it called main which has the content and if you select the Bennett template, you will find the big title here let us call write a title of this speech is in buoys it should display in the middle of the page save and in the main because when a collection and the movie table okay save all.
Now I need to show you how you can point to the icons which exists in the short for you how you can go into this let us know at some button in the secondary toolbar I will add a toolbar and from this toolbar let us add some operation from St. Louis operations in the South Korean service Delete, commit and rollback. So, now with this buttons I need to point to my icon. So, actually what is the bus I should write? I will add that to my shirt templates application icons is existed here. So to go into this icons you have to go to this pause it if images and draw it say image name. So if you other a folder not called PDF me share the diff.
So you have to right share the diff image it ends icon So currently, I will point it like it if images and going to the Add underscore 16 cancer underscore 16 save on the school 16 and delete on the scored 16. So this is what it is. icons name which I will point so, the spec again to my ad publication carried insert this is called ad. So, how you can point it, you will write it if images at, let's call it 16, b and g. So, this is how you can point to your shared icons in the Delete, we can call it here, the lead commit which is save, we can get here. See, and it will beg we can quit. cancer, cancer.
So, this is how you can go into the icons is a shared template. So let's try to run this page and see if so icons would appear as a template how it will appear or not. Okay, I will see you can see here, so icons is appear correctly from the short file, this is my templates, I carry it here on icons, here it will be the titles of each title. And this is a look out and this is a mean face it which has the body of the page and we can read icons from short file. So now you have one template in one place, one icons in one place and you can use this jar file with this shared template with any other ADF application. This is how we can care cakery the share template icons in one place.
You can save it you will go for another feature see you and you can save it you