Время создания
Filters

Hello,

 

Does anybody know if pdf version of Creatio guides (marketing, setup and administration and etc.) exists for the latest version of the platform? I found several, but all were for 7.1x releases

Like 0

Like

0 comments
Show all comments

Please tell me what could be the reason why a window created on the BaseMiniPageTemplate in Freedom UI does not open modally on one system, but opens modally on others?

Like 0

Like

0 comments
Show all comments

Hello,

 

Is there a way to specify the expiration time for the BPMCSRF token in the OData service on Creatio? After monitoring the token, we noticed that it expires after one hour. We would like to know if it is possible to adjust or configure the expiration time for this token.

We are working on a self-hosted (on-premises) environment, and I referred to the following documentation:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/integrations-and-api/authentication/oauth-2-0-authorization/oauth-token-lifetime

The documentation suggests running the following query:
update "Clients"
set "AccessTokenLifetime" = New_Token_Lifetime
where "ClientId" = Some_Client_Id

However, we could not locate the Clients table in our environment. Could you please provide guidance on how to proceed or clarify if this approach applies to our setup?

Georges

Like 0

Like

1 comments

The mentioned instructions apply to the OAuth authentication type. If we talk about basic authentication, BPMCSRF lives as long as the user session is active. Currently, the lifetime of the "BPMCSRF" cookie is equal to the session's lifetime, which cannot be changed.
 

The session's lifespan can be extended by increasing the session timeout for a specific user or the entire system.

Show all comments

Hello Community,

 

I'm trying to use the "Apply Filter" function to filter a lookup value based on three parameters. The business rule works correctly when adding a new record and copy record; however, when editing an existing record, only one filter is being triggered (marked).

 

 

Has anyone encountered this issue, and is there a solution to ensure all filters are applied when editing a record?

Like 0

Like

0 comments
Show all comments

I need to draw editable JSON trees, to use that I've chosen this library - https://github.com/josdejong/jsoneditor; the idea is to draw trees inside a Terrasoft.ViewItemType.CONTAINER. 

 

My understanding was that to import this(or any other) library I need to create a module and put a define() {} inside it, and inside that goes the library code(jsoneditor.js contents in my case), so I ended up doing that:

define("UsrJsonEditor", [], function () { 
// jsoneditor.js contents
}

 

After that I'm importing that module to my page and trying to check if it works by doing this:

define("UsrCardOrders1Page", ["ProcessModuleUtilities", "UsrJsonEditor"], function(ProcessModuleUtilities, UsrJsonEditor) {
    return {
        ...
        methods: {
            initializeJsonEditor: function() {
                window.console.log("UsrJsonEditor: " + UsrJsonEditor);
                window.console.log("UsrJsonEditor.JSONEditor: " + UsrJsonEditor.JSONEditor);
            },
...
        }
    {
});


The initializeJsonEditor() function is called when the container is rendered.
This results in the following error:

Uncaught Error: Mismatched anonymous define() module: function () { return /******/ (function () { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 6545: /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ t: function () { return /* binding */ ContextMenu; } /* harmony export */ }); /* harmony import */ var _createAbsoluteAnchor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1925); /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6237); /* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3057); function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.construc…


I don't have enough experience with JS, but as I understand it the problem is that I've ended up with with the library's define() inside my own define(). Could someone tell if my approach is generally correct and what is that I'm doing wrong here?

Like 0

Like

2 comments
Best reply

You can load it via the CDN using requirejs. See my response on this thread: https://community.creatio.com/questions/how-include-external-js-file-creatio

Ryan

You can load it via the CDN using requirejs. See my response on this thread: https://community.creatio.com/questions/how-include-external-js-file-creatio

Ryan

Ryan Farley,

It works, thanks!

Show all comments