Hi community,

Is there any Low-Code possibilty to navigate directlty to Form Page of the created record?

Chain of events

1 - Mini Page is opened and data is entered

2- Mini Page Save evend is performed

3- After the record is created we navigate directly to the created record Form Page

 

Basically we need the symetric operation of this articel but for FreedomUI

https://customerfx.com/article/automatically-navigating-to-the-new-record-created-by-an-add-mini-page-in-creatio/

 

If there is no-code possibility, can you provide a code snippet how to achieve  it?

Sasor

Like 0

Like

1 comments
Best reply

For a no code approach - there really isn't an exact match, the closest possibility is the action "Continue in other page" which will open it in the default page for the entity type (assuming the mini page is set up as the "Add" page). However, that doesn't actually save the record first (just validates it).

For a code approach, you'd need to add a save request handler see here, then use: 

const saveResult = await next.handle(request);
if (saveRequest) {
	// navigate here
}
return saveRequest;

The navigate here part would use this and open the record in edit mode. 

Also, it likely would not be a good idea to do this in the base page for all mini pages, since dialogs can be used for different purposes, not like how it was for mini pages in classic (although I suppose you could check if the current mini page is in add mode).

Ryan 

For a no code approach - there really isn't an exact match, the closest possibility is the action "Continue in other page" which will open it in the default page for the entity type (assuming the mini page is set up as the "Add" page). However, that doesn't actually save the record first (just validates it).

For a code approach, you'd need to add a save request handler see here, then use: 

const saveResult = await next.handle(request);
if (saveRequest) {
	// navigate here
}
return saveRequest;

The navigate here part would use this and open the record in edit mode. 

Also, it likely would not be a good idea to do this in the base page for all mini pages, since dialogs can be used for different purposes, not like how it was for mini pages in classic (although I suppose you could check if the current mini page is in add mode).

Ryan 

Show all comments

I created three sections, using object Product, for three different flows: A, B and C.

For each section I created its own list page and form page.

 

When I test how it is working, I see that sections for products B and C use form page for section A. List pages are working fine, and when I open section A, B or C I see correct list page, I edited for each section, but if I open a record form the list, will be opened form page from section A.

 

I checked: 

  • - List page settings for sections B and C;
  • - Sections in the Workplace setup (List setup and Page setup)
  •  
  • and these show correct form page names. So I don`t understand why if I clik on the record list page B or C, will be opened form page A.

What do I need to edit?

Like 0

Like

1 comments

Hello,

 

Please note that it is not possible to make such a setup in our system. The thing is that on the configuration level, for one object only one form page can be set as the default page:

That is why the same page is being opened for all of your sections.


However, we will register this idea for our R&D team and they will review the possibility of implementing such functionality.

Show all comments

How to add a new component (for loading map in a specific field i.e.,Address etc..) in form page,Freedom UI

Like 0

Like

1 comments

This article shows how to load a map using an iFRAME component on a Freedom UI page, perhaps it will help: https://customerfx.com/article/embedding-an-iframe-on-a-creatio-freedom-ui-page/

Ryan

Show all comments

Hi Community,

I encountered an error while trying to change the Default Page in an object.

 

 

Does anyone know what might be causing this issue or how to resolve it? Any insights would be greatly appreciated.

Thank you in advance!

Like 0

Like

1 comments

Hello,

The issue can occur if you have two add-ons with different names referring to the same object. This typically happens when the object was renamed, and a new add-on was generated as a result. Or if duplicate add-ons were created for the same object in one package.

I'm also adding an example of how the addon will look in the system:

 

In order to solve this problem, it is necessary:
1. Identify and Remove the Conflicting Add-On
2. After removing the conflicting add-on, regenerate and compile the system to ensure all settings are correctly applied.

This should resolve the issue and ensure consistent behavior for your Default Page settings.

Show all comments

Hi,

I've got two separate cases where a contact's phone number is displaying as [#PhoneNumber#]:


I've checked the Submitted Forms for both contacts and in each case a phone number was entered:



However, when I look at the Submitted form in table view, the phone number shows up as [#PhoneNumber#] again:


Do you know what might be causing this?

Thanks!

Like 0

Like

1 comments

Hello,

 

Unfortunately, without advanced information about your form setup, it is impossible to tell what exactly went wrong with the number registration.

You can provide the setup in the topic so other users would have a better idea of what exactly is causing the number to be rendered in such a format or create the support ticket so the Creatio employees will have a chance to research this issue.

 

Thank you for being an active part of the Creatio Community!

Show all comments

Hi community,

This is an out of the box problem, because i tried it in a fresh Environment as well.

Here is the issue.

We have the Leads section in the Classic UI, meanwhile the Account section is in the FreedomUI

1-We click to the Account link from the Lead Section:

2- We expect that the Form Page will open since we are not adding a new Account. Instead of the Form Page the MiniPage of the Account opens

3- Status of the Pages established for the account

How can we fix this issue?

Sasor

Like 0

Like

2 comments

Hi Community,

Any update regarding this?

Hello,

 

Please make sure that the "Default page" setting is set to the "Form page" in the Accounts object located in a package that is at the end of the packages hierarchy (it might be in the Custom package). 

This issue might appear if in one of such objects the "Default page" setting is set to "Mini page", which overrides the base settings.

Show all comments

Hi all,
 I want to upgrade my instance to freedom UI. How can I set up several form pages in Freedom UI for a section?
I've a freedom UI section with two edit page, which depends on a lookup field.

Is it possible to control which user can use a specific edit page in new button?
Version 8.1.3

 

Regards,
Merlin

Like 1

Like

3 comments

Hello,
 

You can define a typed page that will open for a specific type of lead in the Freedom UI page designer. Just hover over the add record button and in the right menu you will have the opportunity to define pages depending on the type of lead, default page, page for adding records.

FreedomUI designerFreedomUI designer

Serhii Parfentiev,

        Thank you, But I have done this one now I need to limit that one like I have a lookup in contact section. eg type (lookup in contact section) if type is customer means I need to show only wholesale in new button if its different type only enterprise should be shown.

Serhii Parfentiev,

     Could anyone help on this. Thanks in advance.

Show all comments

Hi Community,

 

I have this business requirement, where I need to calculate my "Monthly Total" field right after I finish loading my form page.

 

These are the formula and fields I want to calculate:

 

var total = (monthlySubTotal - discountAmount) + ((monthlySubTotal - discountAmount) * (taxRate / 100));

 

 

I tried to use "crt.HandleViewModelInitRequest" handler, but it didn't work. Because, the data is not fully loaded.

 

Is there any other handler that I can use, that waits for all the data to be loaded and then calculate my formula?

 

Thanks in advance.

 

Best Regards,

Pedro Pinheiro

 

 

 

 

 

Like 1

Like

4 comments
Best reply

 Hello. Try this.

{
	request: "crt.HandleViewModelAttributeChangeRequest",
	handler: async (request, next) => {
		if (request.attributeName === "UsrFirstField" || request.attributeName === "UsrSecondField") {
			//recalc
		}
		return next?.handle(request);
	}
}

 

 Hello. Try this.

{
	request: "crt.HandleViewModelAttributeChangeRequest",
	handler: async (request, next) => {
		if (request.attributeName === "UsrFirstField" || request.attributeName === "UsrSecondField") {
			//recalc
		}
		return next?.handle(request);
	}
}

 

Alex Zaslavsky,

 

Thank you for  the reply.

 

I'm using the "crt.HandleViewModelAttributeChangeRequest" handler when a field is being changed.



However, in this situation, the field does not receive any change. For example, the "Tax Rate, %" field has 15.00 as its default value. This does not trigger the "crt.HandleViewModelAttributeChangeRequest" handler. But I need it to calculate the "Monthly Total" field.



After some research, I found the "crt.LoadDataRequest" handler. This handler is executed after all the data has been loaded. So, for the moment, it's working for our requirement.

 

Best Regards,

Pedro Pinheiro

I think your "Tax Rate" field triggers this request, but it's silent.

request.silent

 

Alex Zaslavsky,

 

I've changed the solution and now it's working with the "crt.HandleViewModelAttributeChangeRequest" handler.

 

Thank you.

 

Best Regards,

Pedro Pinheiro

Show all comments

Hi all,



I have multiple edit pages for a section in classic UI and I want to upgrade my instance to freedom UI. How can I set up several form pages in Freedom UI for a section?







Thanks in advance & regards

Goparna Nasina

Like 4

Like

5 comments
Best reply

Goparna Nasina,

This is now possible in Creatio 8.1.

Ryan

Not yet possible in Freedom UI.

Hi community,



Any update on the multiple edit pages in Freedom UI?

Currently we have 3 edit pages for opportunity in our classic UI instance and we wanted to convert the opportunity page to freedom UI page.

Kindly let us know how this can be done.



Thanks in advance

Goparna Nasina

Goparna Nasina,

This is now possible in Creatio 8.1.

Ryan

Ryan Farley,

Thanks Ryan

Ryan Farley,

 

I've a freedom UI section with three edit page, which depends on a lookup field.

Is it possible to control which user can use a specific edit page?

In the classic UI using record permission on lookup values and  a bit of javascript code I can hide the edit pages based on the current user.

Thank you

Show all comments