The CreatorCon Call for Content is officially open! Get started here.

Annotations without a variable field on Record Producer

carlh
Kilo Guru

Hi All,   Sorry about the title, I am not sure how to word it.  

I have a record producer and need to give the users instructions.   This would work great if I could add an annotation to the record producer but so far I am only able to see it beneath a field as shown below.

find_real_file.png

The purpose of the record producer here is to give users out in our clubs a way to report issues with one of our applications without having to call in to the queue.

Any pointers on how to get this to work?

Thanks,

Carl        

1 ACCEPTED SOLUTION

Hi Carl,



Nope. For this, I believe you have do a bit scripting. What I have said in my earlier response is the only thing you need to configure and it's pretty easy and anybody can achieve that if the user has 'admin' role.


1. Please navigate to System UI-->UI Macros-->Create a NEW one as of below. Please replace the wordings as per your requirement.


find_real_file.png


2. Once you are done with the above one. Please navigate to Service Catalog-->Maintain Items-->Open your Item-->Add a new variable clicking on 'new' button from the related list 'Variables' (Present below)


find_real_file.png



find_real_file.png



3. If you are done with above 2 steps, please open your Catalog Item. You can find the annotation is present in the form.


find_real_file.png



I hope this helps.Please mark correct/helpful based on impact


View solution in original post

14 REPLIES 14

Community Alums
Not applicable

Hi the macro doesn't works on service portal. So we have to do same requirement on service portal.

Hi gajji,

 

For Service Portal, you need to define a widget (instead of macro) where you can put the text in the HTML Section. Once you are done with defining the widget, use the same in your macro type variable. Please refer the below snapshots.

find_real_file.png

find_real_file.png

 

Hope this helps. Please mark the answer Correct/Helpful based on the impact.

Regards,

Amlan

Hi Amlan,

I'm trying to find a way to do this without having to define a new widget each time.

I know that the variables for record producers are stored in a table called "item_option_new".  This table has an html column called "instructions".  

My plan is to:

1. Get the sys_id of the variable that is calling the widget,
2. Use the server-side script of the widget to get the data in the variable record's "instructions" field.
3. Display the data retrieved in the html side of the widget.

Unfortunately I'm stuck on step 1.  Do you have any idea how I might be able to tell the widget which variable is calling it so that it can get and display the html already stored in that record?

 

Here's what I have so far for the widget, in case it's helpful to illustrate what I mean:

find_real_file.png

 

Community Alums
Not applicable

Thanks for your reply- it's working but i need blod  latters and it show mandatory, i mean red hastrike how those implemented 

Sumanth Now
Tera Expert

find_real_file.png

As shown in the screenshot, how can we add a text/message next to the attachment icon, this should be applied to all the Catalog items.

Do we need to clone the widget 'SC Catalog item' and add some in the HTML part or create something like Macro/Label? Please help me?