If i'm not wrong i guess you mean to say you have a inline editable detail without any form page for the user to add details and you want to add some kind of business rules. You can add them in the object level.
If i'm not wrong i guess you mean to say you have a inline editable detail without any form page for the user to add details and you want to add some kind of business rules. You can add them in the object level.
Hey, So you can fetch the count of records under the detail object through code.If the count is greater than 0 then you can make it visibile. EG below:
Hey, So you can fetch the count of records under the detail object through code.If the count is greater than 0 then you can make it visibile. EG below:
You can fetch the event of deletion in a business process. Then you can do actions and if your object opportunity has live update set then the updates will appear as soon the business process has run.
Other option would be to add your own action in the list and handle all necessary changes in the page.
There is a crt.DeleteRecordsRequest, you can add a custom handler for this request (handlers in schema metadata).
This request is called when the user tries to delete records from the row menu and bulk actions menu. But it is called before user confirmation (modal window), and rights checking.
There are such properties in the payload:
dataSourceName - data source name of list, for which request is called; filters - filters for records deletion(passed when records deleted by bulk actions panel)
recordIds - record ids which should be deleted (passed when record deleted by clicking row menu delete button)
I assume you're referring to the caption? You can change the caption for the button by opening the edit page schema (for example, AccountPageV2) and find the localizable string (on the left side) "SaveButtonCaption" then give it a new value.
I assume you're referring to the caption? You can change the caption for the button by opening the edit page schema (for example, AccountPageV2) and find the localizable string (on the left side) "SaveButtonCaption" then give it a new value.
Thanks Ryan, that worked when creating a new record. When I click New to add a new record the save button became Submit, but when editing the existing record the button appeared to be "Save" again. How to make it Submit on adding and editing a record.
You would add this in the page you’re opening, not in the code that opens the page. What is the intent you’re trying to produce? I assume that in a page you’re wanting to know if the page is in add mode vs edit. Correct? To accomplish this you’d add something such as a crt.HandleViewModelResumeRequest on the page and check the cardstate there.
Thanks Ryan, I'm also try using crt.HandleViewModelResumeRequest, but nothnig happens.
What I need is that when I open the page "Air Equipment/NdosPage_3ud8c3e" it can detect if I am working with a new record and do something. So it is in the code of this page, where I enter the commented code, compile, open an existing record and create a new one and the code entered does not execute/does not work in any situation.
If I add the code inside a crt.HandleViewModelAttributeChangeRequest, it works, but it stays
in loop and to exit I have to go back in the browser.
I made a short video to show what I'm doing and where the code is in case it helps to understand, see at
Please help, I need to notify final user some task he trigger is working.
For example, on a page, a user clicks on a button to do something, the button executes a process and I want to inform the client that it is processing what the process does....
I've typically done this by making a generic process I can use as a subprocess. It sends the message to the client. Then I make a generic script loaded from MainShell or MainHeaderSchema that listens for the message and displays the toast. It makes it simple and generic to use and works on any page.
I've typically done this by making a generic process I can use as a subprocess. It sends the message to the client. Then I make a generic script loaded from MainShell or MainHeaderSchema that listens for the message and displays the toast. It makes it simple and generic to use and works on any page.
How do you go about creating a generic script that loads in the MainShell or MainHeaderSchema in Freedom UI? It hasn't seemed to work when I've tried it.
I need to trigger a process to search for all pending approvals in a Freedom UI section, but I have not found a Visa object connected to Freedom pages. How can I approve all pending approvals connected to a specific object in a FreedomUI section via a process?
Found, it is a single object for all entities: Approval, in the column "Reference schema name" must indicate the name of the object of the section where the Approval belongs and in the column "Entity identifier" the id of the object....
Somebody know where can we change the message and graphics Creatio displays in a list page (Freedom & Classic pages) where no data? and the same in Next Steps?