Create and Export Report of Content Item IDs

This topic describe the procedure on how you can create report of the content item IDs and export it to the PDF file.

Follow the below steps to create report of the content item IDs and export it to the PDF file.
  1. Visit Oracle Cloud HCM Application and Sign In to your account.

  2. Click on the Navigator and go to Tools > Reports and Analytics.

  3. Click on the Reports and Analytics.

  4. On the Reports and Analytics, click Create and select Report from the drop-down .

  5. Click Cancel and close the Create Report pop-up.

  6. Click Create and select Data Model from the drop-down.

  7. Expand the Diagram tab and click SQL Query.

  8. On the SQL Query pop up, do the following:
    • Enter a Name for the SQL query, for example: RChilli_ContentItemID_DataModel
    • Select ApplicationDB_HCM for the Data Source field.
    • Select Standard SQL for the Type of SQL field.
    • On the SQL Query box, enter below query and click OK.
      select
      B.NAME,
      TO_CHAR(A.CONTENT_ITEM_ID)
      from HRT_CONTENT_ITEMS_B A
      , HRT_CONTENT_ITEMS_TL B
      where A.CONTENT_ITEM_ID = B.CONTENT_ITEM_ID
      AND A.BUSINESS_GROUP_ID = B.BUSINESS_GROUP_ID
      AND B.LANGUAGE = 'US'
      AND A.CONTENT_TYPE_ID = :P_CONTENT_TYPE_ID
      AND TRIM(B.ITEM_DESCRIPTION) IS NOT NULL
      


  9. On the Add Parameter pop-up, select the P_CONTENT_TYPE_ID check-box and click OK.

  10. Click on the List of Values on the left-side navigation panel. Click + icon and fill the fields as mentioned below:
    • Name: CONTENT_TYPE
    • Type: SQL QUERY
    • Data Source: ApplicationDB_HCM

  11. For the CONTENT_TYPE: Type: SQL Query block, enter the below SQL query:
    SELECT
    CONTEXT_NAME,
    CONTENT_TYPE_ID
    FROM HRT_CONTENT_TYPES_B
    


  12. Click on the P_CONTENT_TYPE_ID on the left-side navigation panel and select Menu from the Parameter Type drop-down.

  13. Click on the Save icon and on the Save As pop-up, select the folder where you want to save the data model and click OK.

  14. Click on the Data Sets on the left-side navigation panel and do the following:
    • Click on the Data menu.
    • Select DEGREE from the P_CONTENT_TYPE_ID drop-down.
    • Select 200 from the Rows drop-down.
    • Click View to view the DEGREE report.
    • Click Table View to view the DEGREE report in the tabular format.

  15. On the table view, click on the Save As Sample Data and then click on Save icon. Once saved, click on the Create Report.

  16. On the Create Report pop-up, make sure the correct Data Model is selected and click Next.
    Note: You can click on the Search icon and select different Data Model as necessary.


  17. Select Portrait for the Page Options and Table for the table Layout.Click Next after your selection.

  18. From the Data Source, drag the NAME and put into the box to create a column for the table. Similarly, drag TO_CHAR_A_CONTENT_ID_ into the box for another column.
    • Click Next once you created the table.

  19. The View Report option is default selected, click Finish to view the report.

  20. You can give a Name to the report and save it in the My Folders. Click OK to save the report.

  21. To generate report for the Degree and the Degree Content ID, select DEGREE from the P_CONTENT_TYPE_ID drop-down and click Apply.
    • Click on the Print icon to down the report in the PDF format.
    • Similarly, you can select CERTIFICATION, LANGUAGE, etc., from the P_CONTENT_TYPE_ID drop-down and generate report as necessary.