Hello fellow members of the community,
As you probably have already seen, those two attributes are not available in the Domains for adding to Ad Hoc Views. this is by design, but there is a workaround you can follow in order to still have this information in your views.
Adding Last Updated By field:1. Connect to PPM - Administration - Object2. Open the Object needed - go to Attributes3. Click on New to create a new attribute4. Select Calculated as Data Type, and Result Data Type = String - click Save5. Select Build a Calculated Attribute6. Use function Concat, attribute name = Last Updated by7. Click on Generate8. Ensure the expression is valid, hit Save and Return.9. Enable the new attribute for Data Warehouse10. Run Load Data Warehouse job until completion
Adding Last Updated Date field:
1. Connect to PPM - Administration - Object2. Open the Object needed - go to Attributes3. Click on New to create a new attribute4. Select Calculated as Data Type, and Result Data Type = Date - click Save5. Select Build a Calculated Attribute6. Use function DateAdd, Set Argument 1 name = Attribute Name - Last Updated Date7. Set Argument 2 to Constant - Second (ensure the case matches)8. Set Argument 3 to Constant - 09. Click on Generate10. Ensure the expression is valid, hit Save and Return.11. Enable the new attribute for Data Warehouse12. Run Load Data Warehouse job until completion
You should then be able to find the new field in the Domains and use it in reports.
(Please note the screenshot examples were made with Benefit Detail object but any other object can be used with this solution).
Data fields display in Domains and can be selected for Ad Hoc View:
Thanks for sharing this tip Nika!
Tech Tip : How to add Last Updated By and Last Updated Date fields to Data Warehouse and Jaspersoft Domains
last updated date is already in the DWH.. is there a reason why this is listed here? I am on premise, working on 14.3
Could we use this work around to get Created by? Created date is already in there as well.
The last_updated_date in DWH is the date when DWH was updated and not the value which is stored in CA PPM.
Yes, on some objects the Last Updated Date is available in DWH, and it corresponds to the object's Last Updated Date. This field is not available on all the objects though. In the example I am showing with the screenshots, I am adding the field to object Benefit Plan Detail, where the field is not available for DWH. Hope this helps clarify.
And yes, you can use the same workaround for the Created By field, it should work.