- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2016 02:39 PM
Hi all,
hope all having good time. Recently came up with a question to modify order status screen to add a custom field. Tried using "Maintain Cart Layouts" and adding a column macro suggested by previous community questions but didn't get success. I have no idea how to get a custom field on order screen. Could anyone have any idea to get this done.
In one of the widget macro called "sc_order_status_view_cart_summary" i found "com.glideapp.servicecatalog_cart_table" mentioned in the macro code, but i don't understand what is this. Attached are screen shots about the requirement, please suggest any useful tips.
thanks,
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2017 10:12 AM
Hi sry,
It's been a while, but I hope what I found will help you :
Open the cart layout Order Status : Service Catalog > Catalog Definition > Maintain Cart Layouts >
Tab Column Macro, click New
Insert the following line in between the j:jelly tag
${jvar_sc_req_item.getGr().getDisplayValue('u_approval_need')}
Set value for Title and Order. They will be used for column title (in the heading) and displaying order of the column, respectively.
The below example shows the column "Order" at position 100 of a request generated by tge Order Guide
(1) Macro
(2) The Tab Column Macro
(3) Result:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2016 12:27 PM
Ajay,
the first article has helped littlebit, though we were still unable to add column name for order status. order status table summary widget macro can't be customizable by an individual developer it seems. we have stopped further modifying the order status.
thank you guys for your helpful information,
sry