How to create a catalog item from an item in a table?

thu
Kilo Explorer

I created my own application with a table that I've populated with information. I want to create a catalog item from any of those records I've created. I have a UI Action that says "create catalog item" inside of the table, but I'm not sure how to script it.   Help??

7 REPLIES 7

sourabhd87
Tera Contributor

Do you want to create a catalog item or you want to create a request item?



Kind regards,


Sourabh D


Not sure if I am correct, but I want to create a catalog item so that then


others can request it from the service catalog



On Tue, Aug 23, 2016 at 1:34 PM, sourabhd87@gmail.com <


Then probably you want to make a Record Producer to create a new record on the new custom table you created.   Catalog Items are usually only for Request Items, but you can publish any kind of Record Producer inside the catalog.   So play around with creating a Record Producer!


sourabhd87
Tera Contributor

For that you will require to have enough fields in the table you created.


For eg:


Name, Availability Workflow, Category, Catalogs etc. which are already required for creating a catalog item.



On top of that to have the fields in the catalog item, you will require at least:


Type, Question, Name. If the fields are reference fields then you will require reference table and reference qualifier.



Then you can query the sc_cat_item, question table and insert all the data gathered in the respective table.



Kind regards,


Sourabh D