HI, 

 

How do I push or replace navigation history in freedom. In classic UI you were able to do it  using a sandbox message. 

 

Is it possible to be done in Freedom?

 

Thank you!

Like 1

Like

4 comments

Are you referring to pushing to navigation history (as far as going to the record/page itself)?

If so, this shows how to open a page (section or other page) https://customerfx.com/article/navigating-to-a-page-via-code-in-a-creatio-freedom-ui-page/

This shows how to open a record page in add or edit mode https://customerfx.com/article/opening-an-edit-page-to-add-or-edit-a-record-via-code-in-a-creatio-freedom-ui-page/

If I've misunderstood what you're after let me know. Hope this helps. 

Ryan

Hi Ryan, thank you for your answer.

No that's not what I'l looking for. What I want to do is what history.replaceState(state, unused, url) does in JS. change the shown url and the browser history, but not navigate. 

Javier Collazo,

Ah I see now. I've not noticed any equivalent of that in the devkit. I've seen a navigationservice and router classes as possibilities in the internal code, but they aren't exposed in devkit.

One possibility is to use the "crt.7XRequest" request. I've been able to use that for what would have been a sandbox.publish previously, a least for what I've tried with it so far. See https://customerfx.com/article/navigating-a-user-back-from-a-creatio-freedom-ui-page/

Might take a little playing with to figure out how to get the other params passed for stateObj, pageTitle, etc. Searching the source for "crt.7XRequest" would likely find some examples of similar requests.

Ryan

Javier Collazo,

I did find an example: 

await handlerChain.process({
    type: "crt.7XRequest",
    $context: null,
    action: "ReplaceHistoryState",
    hash: someHash,
    stateObj: obj,
    silent: isSilent
});

Ryan

Show all comments

Hi everyone,

 

is there a button that can navigate on the record's form page to the next record's form page, which is previously filtered by list setups? 

 

Thanks, Timea

Like 0

Like

2 comments

Hi timea , 

you can use "crt.OpenPageRequest" handler to open specific page onbutton click .

 

request.$context.executeRequest({
 
    type: "crt.OpenPageRequest",
 
    $context: request.$context,
 
    schemaName: "UsrCaseStatus_ModalPage",   
 
    modelInitConfigs: [
 
        {
 
            action: "edit",
 
            recordId: caseId            //RecordId of the page
 
        }
 
    ]
 
});





Thanks.

Hello,

Unfortunately, such functionality is not implemented in the application.

 

We have submitted a request to the development team to assess the possibility of implementing such functionality in the product.



Thank you for helping us make our product better!

 

Best regards,

Pavlo!

Show all comments

Hi all,

How do we connect section wizard in "navigation and sections" of created Application?

 

Like 0

Like

1 comments

Hello,

 

Could you please describe what logic exactly you want to achieve?

Show all comments

Is there a clean way to hide the left and right navigation menus in Creatio without resorting to CSS hacks? I am building a scenario where an external app loads Creatio in an iframe and I need to restrict the user from navigating away from the screen that is shown in the Creatio iframe.

 

Thanks in advance...

Like 0

Like

2 comments

Dear Amanthena,

 

I think that adding custom css is the most appropriate approach in your case. Since it is impossible to make the left and right menus invisible only for some specific page. You can modify these menus, however these changes will affect all pages in the application.

 

Please find more information about how to add a custom css style in the article by the link below:

 

https://community.bpmonline.com/questions/how-add-custom-style-control-page-based-condition

 

Best regards,

Norton

Norton Lingard,

​​​​​​Thanks! 

Show all comments

When drilling into a detail record from an edit page, the URL shown for the page in the address bar does not update to match the record shown by default. Is there any way to make this happen in client-side code? Or perhaps a setting which can be enabled? An important part of the application I'm currently working on is the ability for users to share the links to pages externally, and being able to do so by copying the URL sometimes (e.g. when drilling into a Section record to get to the edit page) but not other times isn't good UX for the client.

 

We know we can add an action bar button to copy the link, but this also isn't what he client would like if avoidable, for the above reason (consistency).

Like 0

Like

1 comments

Hello Harvey,

 

Unfortunately, there is no way to retrieve a direct URL when opening a record from the detail since Creatio is a single-page application, the navigation is stored in operative memory and could not be obtained. This is done to enhance system speed.

 

We do have a problem registered for our R&D team in the "Accepted" status regarding the possibility to dynamically change the link once the record from the detail is opened and it is planned to modify the current logic in one of the future releases. As for now the only way to retrieve the direct link is to open the detail record in another tab by right-clicking on it and selecting the "Open in another tab" option.

 

Best regards,

Oscar

Show all comments