- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 05:18 AM
Hello All,
Can anyone help me to give the answers of this question's?
1. What object do we use on the client side to pass data to HTML/server ?
2. What object do we use on the server side to pass data to HTML/Client ?
3. What is the easiest way to add menus in Service Portal Header?
4. What is the difference between page, widget, and instance?
5. If getXML() is used in a catalog client script, and the catalog is submitted on the Portal, what happens?
6. What can you do with a widget option schema, explain with an example?
7. What needs to be done to add a footer on the Portal?
8. When you clone an OOB widget, does all the details get copied over to the new widget, explain?
Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 01:17 PM
Hello Yogita,
Here are the answers:
1. What object do we use on the client side to pass data to HTML/server ? --> c
2. What object do we use on the server side to pass data to HTML/Client ? --> data
3. What is the easiest way to add menus in Service Portal Header? --> Open Portal record -> open associated Main Menu record -> Create records in Menu Items related list
4. What is the difference between page, widget, and instance? --> A widget holds HTML+client+server code. A Widget Instance holds a Widget. A Page holds multiple Widget Instances
5. If getXML() is used in a catalog client script, and the catalog is submitted on the Portal, what happens? --> By the time the getXML return function is called, the page is redirected.
6. What can you do with a widget option schema, explain with an example? --> A widget option schema helps add 'dynamic'ness to the widget code. Users can tweak the behavior of the widget directly by changing the schema options by holding CTRL + right clicking the widget.
7. What needs to be done to add a footer on the Portal? --> Open Portal record -> Open associated Theme record -> Update the Footer field with your footer
8. When you clone an OOB widget, does all the details get copied over to the new widget, explain? --> After cloning, you will notice not all details from the parent widget gets copied over. These are the related records like Dependencies, Angular Providers, and Angular ng-templates.
I have provided these answers only for the benefit of all those who are fresh into learning Service Portal.
I also highly recommend you open your PDI, and try creating your own portal and your own pages. Very soon, you will realize that these questions are actually simple enough.
Its so much fun to jump on a jeep and go on an African safari compared to watching it on National Geographic😉

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 01:17 PM
Hello Yogita,
Here are the answers:
1. What object do we use on the client side to pass data to HTML/server ? --> c
2. What object do we use on the server side to pass data to HTML/Client ? --> data
3. What is the easiest way to add menus in Service Portal Header? --> Open Portal record -> open associated Main Menu record -> Create records in Menu Items related list
4. What is the difference between page, widget, and instance? --> A widget holds HTML+client+server code. A Widget Instance holds a Widget. A Page holds multiple Widget Instances
5. If getXML() is used in a catalog client script, and the catalog is submitted on the Portal, what happens? --> By the time the getXML return function is called, the page is redirected.
6. What can you do with a widget option schema, explain with an example? --> A widget option schema helps add 'dynamic'ness to the widget code. Users can tweak the behavior of the widget directly by changing the schema options by holding CTRL + right clicking the widget.
7. What needs to be done to add a footer on the Portal? --> Open Portal record -> Open associated Theme record -> Update the Footer field with your footer
8. When you clone an OOB widget, does all the details get copied over to the new widget, explain? --> After cloning, you will notice not all details from the parent widget gets copied over. These are the related records like Dependencies, Angular Providers, and Angular ng-templates.
I have provided these answers only for the benefit of all those who are fresh into learning Service Portal.
I also highly recommend you open your PDI, and try creating your own portal and your own pages. Very soon, you will realize that these questions are actually simple enough.
Its so much fun to jump on a jeep and go on an African safari compared to watching it on National Geographic😉