I have requirements to be able add new record to data type from Customer Portal, where should be added some extra information but not by Customer. I could see when you activate editing options in the table CRUD actions are allowed. But if you want to add some extra information behind the view there are not any possibility. For example, for edit you can create Custom action, that offers you Flow Action, where you can do some business logic, but I can’t find any similar behavior for Add new record. Any suggestion?
Basically, I need to associate a flow action with the add button.
Thank you so much, this solution is perfect for my needs.
However, I have another problem with the Delete action.
I’m using the default Delete action and I’ve also implemented a custom one, but both only remove the data from the application; the ID key and all the properties of the Pega, such as pxCreateDateTime, are not deleted. Therefore, the record exists in the table with the primary key, and the rest of the properties are empty. However, when I delete it directly from the table, it is completely removed.
I don’t have any “ootb” columns added to the table; there are only application columns. I marked them all as primary fields and displayed them in the table (just for testing), but the record isn’t deleted; only the application properties data is cleared.
But you have pxcreateDatetime in data type right? So you have pxcreateDatetime in data type in data type columns but not in landing page. Try removing such ootb columns.
In data type on the tab Records I have only app columns. On the data model tab, there are system fields, one of them is pxCreateDateTime. When I add new record, these system properties are fulfil automatically. When I Delete the record from the landing page, I can see that only app properties are cleared, but system properties contains the value and primary key. I can check it by running data page (list of all records)