Hi community!

I need that instead of navigating the tabs by means of the arrow ->, they are shown in a list below, to be able to see them all together without having to navigate. That is, they are displayed in various rows depending on the amount that exists.

 

Any idea?

King Regards,

Ezequiel

Like 0

Like

2 comments

Hello Ezequiel,

You'll need to add the following CSS:

.ts-tabpanel {
    height: auto;
}
 
.ts-tabpanel-items {
    overflow: visible;
    white-space: normal;
    margin: 0 !important;
}
 
.ts-tabpanel-scroll-left {
    display: none;
}
 
.ts-tabpanel-scroll-right {
    display: none;
}

This will change the tabs to wrap onto new rows if needed. If the display is wide enough it will look like this: 

If not, they will wrap like this:

Hope this helps.

Ryan

Ryan Farley,

Thank you for a very thorough explanation!

Best regards,

Matt

Show all comments

Is it possible to specify date formatting when using email templates?

Like 0

Like

1 comments

Dear Carlos,

As for now there is no such functionality, but I'll inform our R&D team about this issue and suggest them to implement it. Thank you for helping us to make our application better. As a workaround you can use either BP to modify your templarte accordingly to your business task or add macro handler into the template: https://academy.bpmonline.com/documents/technic-sdk/7-13/adding-macro-h…

Show all comments
Question

Hi;

I check value of field (attribute) on page in onRender method

sometime it work correctly and sometime it show error that this.get("usrStatus") is undifined

here is my code,

            onRender: function() {

                var that = this;

                setTimeout(function() {

                    if (that.get("UsrStatus").value === "22a42a46-1f02-46d4-8a1b-e947631a0671") {

                        that.set("justClosed", true);

                        that.sandbox.publish("UnblockManClosed");

                    }

                });

                this.callParent(arguments);

            }

 

Regards

Tomek

Like 0

Like

4 comments

Try putting the code in onEntityInitialized instead of onRender. With your setTimeout it likely sometimes gets the timing right that the entity is available and other times not. If you put the code in onEntityInitialized the object values will definitely be available.

Ryan Farley,

Thank Ryan;

That may sold muy problem

Maybe have you anny idea when this is on Preconfigured page not base on any entity?

 

Regards

Tomek

Hello Tomasz,

I'm not completely sure, but it looks like it would work the same on a preconfigured page. Looking at PreconfiguredPageV2 it does also define onEntityInitialized. PreconfiguredPage also does inherit BasePageV2 (which inherits BaseEntityPage), so I would assume it would work the same for the preconfigured page.

Ryan

Dear Tomasz,

As advised above by Ryan, please transfer your code to basic onEntityInitialized method. At the moment of its execution page model is already retrieved. onEntityInitialized method is present on PreconfiguredPageV2, since it inherits from BasePageV2, which has the method realization.

If you will have any further questions, please let us know.

Regards,

Anastasia

Show all comments

Hi. 

how can I use password protected excel for Template in Excel Report Builder ?

 

It showing below error when I generate the report.

 

 

Like 0

Like

1 comments

Dear Visitor,

Most likely it is not possible to use password protected excel file as a template in the application. I would suggest you to contact the developer of this extension by email for more details - bpmonlinelabs@bpmonline.com

Best regards,

Dean

Show all comments

Hi, community.

I am experiencing something strange... When logged in as the supervisor, I can see email and telephone for leads and contacts both in the left bar and in the communication options area, but when logged in as any other user, I can only see them in the left bar, but not in the communications options area ...

 

 

 

Does anyone know why this happens?

Thank you!

Regards,

Juan Carlos

Like 0

Like

1 comments

Hello.

Most likely it is related to the access rights. We recommend you to check whether you have restricted the access rights for the contact communication options object or to the specific columns of the contact object. You can read more about it in the academy article below:

https://academy.bpmonline.com/documents/administration/7-13/object-perm…

https://academy.bpmonline.com/video-course/setting-access-permissions

In case you are unable to fix the access rights issue we recommend you to address such requests to the support team directly for assistance.

Matt

 

Show all comments

Hi Community,

This code below gets the Guid of the current user in client side code

Terrasoft.SysValue.CURRENT_USER.value

How about in script task, using C# code what is its equivalent?

 

 

Like 0

Like

4 comments

In a script task you have access to UserConnection. This exposes a  CurrentUser property (which provides an object of type SysUserInfo). 

var currentUser = UserConnection.CurrentUser;
var userId = currentUser.Id;
var userName = currentUser.Name;

BTW If this was code in a source code schema/configuration service, you'd need to get the UserConnection via the AppConnection first:

var appConnection = HttpContext.Current.Application["AppConnection"] as AppConnection;
var currentUser = appConnection.SystemUserConnection.CurrentUser;

 

Ryan Farley,

Thanks Ryan,

Is there any documentation about CurrentUser. I want to know everything about its properties and attributes for future use.

Thanks.

Fulgen Ninofranco,

I don't know of any documentation, it is in Terrasoft.Core.dll, however, the SysUserInfo object inherits from the SysAdminUnit object. This object you can see in the configuration. Search for SysAdminUnit in the configuration and you'll see what is available in the SysUserInfo. The SysUserInfo object itself only adds 5 additional properties for TimeZone, PageRowsCounr, Culture, ClientIP, and DateTimeFormatCode.

Dear Fulgen,

Please use the example mentioned by Ryan, it covers the way you work with UserConnection in Script Task. 

var currentUser = UserConnection.CurrentUser;

For more information on all .Net classes used in the system please see this article:

https://academy.bpmonline.com/api/netcoreapi/7.13.0/index.html#GeneralS…

Also, as for examples of UserConnection usage in web services you can check the examples here:

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-create-cus…

 Regards,

Anastasia

Show all comments

Hello community



I am working with a business process using the process element [Call Web Service].

The web service configuration and the call are working correctly.

The JSON response is similar to:

{

"$ totalResults": 2,

"$ startIndex": 1,

"$ itemsPerPage": 100,

"$ resources": [

     {

      "$ clave": "t6UJ9A000001",

      "$ Static_state": 200,

      "$ etag": "Yi4EmiUg3xw =",

       "Account": {

             "$ clave": "A6UJ9A0001RU",

             "$ uuid": "00000000-0000-0000-0000-000000000000",

           }

      },

      {

      "$ clave": "t6UJ9A00000B",

      "$ Static_state": 200,

"$ etag": "wMpPUtrfgdA =",

"Account": {

"$ clave": "A6UJ9A0001RX",

"$ uuid": "00000000-0000-0000-0000-000000000000",

}

}

]

}



My goal is to iterate the JSON and finally create tickets in BPM with the source information.

Using a pre-configured page I was able to determine that the parameter where the information is returned is [#WS Step.Response body #]

How can I take this value in a Script Task and process the JSON? or what is the correct procedure to do this?

Previously I should be able to take the value of the parameter [#WS Setp.Success #] to determine if the execution was successful

Thank you!

Good weekend

Like 0

Like

1 comments

get/set a parameter value in a business process script task

var parameter1 = Get<Guid>("Parameter1");

Set("Parameter2", parameter1.ToString());

var parameter2 = Get<string>("Parameter2");

get object of type UserConnection

var userConnection = Get<UserConnection>("UserConnection");

Show all comments

Is it possible to create a printable for an entity without a section? I looked into source code of ReportService and it seems it should be possible to generate documents for this kind of entities (either by C# or by calling the service from JavaScript) but I'm unable to define the printable, because the wizard allows me to choose only sections as the template source of data.

What I'm doing now, is creating dummy sections where I copy data from the my normal entities, just for the purpose of defining a printable. I hope there's a better way.

Like 0

Like

1 comments

Dear Carlos,

Indeed, you can create a printable without a section and call it by custom development. However, there is no way to add such printable without a section to the printable lookup. 

Therefore, in order to use printable lookup functionality you need to create a section based on the object. You may hide it from all workplaces, so it won't be in the view, but just exist in the configuration for printable purposes. 

Nevertheless, we are grateful for your comment, as it is a idea for the product improvement, which will be transferred to our developers team for their revision.

Regards, 

Anastasia

Show all comments

Hi Team,

I am implementing the approval in my custom section with three stages in a case as attached. User was able to edit the record field when the approval is in progress. I have made the approval step as required in the stage but no success. Please suggest. I have tried adding a new approval record and approval task in business process and linked the business process in my stage but no success. 

Thanks,

Venkat.

File attachments
Like 0

Like

1 comments

Hello.



The approval itself does not lock the record, it is just a step needed to go to the next stage. Your idea with the access rights element would be the best way to achieve the desired outcome. You can add a change access rights element along with the approval element (you can make both required for the same stage), that will remove edit access rights from all users except from the owner, for example. Then you can add another change access rights element, that will distribute the edit rights to the users, once the approval is received.

 

Best regards,

Matt

Show all comments

I added a tab to a previously empty tab list in a detail object. I've removed all fields and details inside the tab, but when I select the 'X' for removal, nothing happens.

Like 0

Like

1 comments

Dear Jordan,

You can delete tab from the page by commenting it in the schema directly. To do so you'll need to find the detail schema in configuration, open this schema and find the needed tab or by its name or by "propertyName" : "tabs" key words in the search. After you comment it you need to save schema and re-login to the application and the tab will disappear from the page.

Best regards,

Oscar

Show all comments