Hi Community,

Any Idea how can I create a dialog box with input fields and buttons?

Like 0

Like

6 comments

Dear Fulgen,

Depending on your business task, your can make up a business process with AUTO-GENERATED PAGE or PRE-CONFIGURED PAGE elements. Here are some more details on them:

https://academy.bpmonline.com/documents/technic-bpms/7-13/auto-generated-page-process-element

https://academy.bpmonline.com/documents/technic-bpms/7-13/pre-configured-page-process-element

Basically, the application does not support opening small dialog boxes, but you can use auto-generated page with any fields or buttons that you need. It can appear as a separate page but not as a small dialog box. 

Best regards,

Dean

Dean Parrett,

Thanks Dean.



Auto generated page and pre-configured page will not be acceptable for our client since it will open as full screen. What we want to achieve is only as size as mini page or a dialog box.

How can we open a minipage in client code? maybe we can use mini page, upon clicking a custom button we will load a minipage.

 

Dear Fulgen,

Yes, that would be possible if you are ready to create this window using the development tools. Here are a couple of similar articles that will be helpful. 

https://academy.bpmonline.com/documents/technic-sdk/7-13/adding-pop-summaries-mini-pages-module

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-pop-summary-mini-page-adding-records

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-pop-summaries-mini-pages

https://academy.bpmonline.com/documents/technic-sdk/7-13/adding-pop-hints

 

You can also analyze the the any minipage code and create a custom page that would open up upon your preferred conditions, as in your example upon clicking any button. 

Dean

Dean Parrett,

Thanks Dean,

I found below dialog box with text field in BPM online after clicking the new email account. Same as below is our requirement, any idea how we can achieve this?

 

Dear Fulgen,

There are no basic tools in the bpmonline that would allow to open similar boxes. However, we suggest you to analyse the 'ModalBox' as well as 'ModalBoxSchemaModule' schemas code and develop your own dialog windows that would pop up under your preferred conditions. 

Best regards,

Dean

This would be a very useful feature for my client also.

Show all comments

Hi Community,

I want to implement remaining time indicator on my custom page, just like what you have in case form. Any idea how can I achieve this?

 

Like 0

Like

1 comments

Dear Fulgen,

Please take a look at CasesEstimateLabel.js schema. It contains the logic for the indicator. On the CasePage.js schema there is a container (SolutionCaptionProfile) where indicator is rendered. 

Please use the code in the CasesEstimateLabel.js schema to create your own module for indicator and then place it on the custom section page.

Regards,

Anastasia

Show all comments

How do you use the Modify data action to set a String field to null or empty string?  I've tried entering "" and String.Empty in the Notes formula and neither worked.

Like 0

Like

5 comments

Dear Janine,

To do that you need to specify "String.Empty" value for this string as a formula in "Modify data" element (like on the screenshot http://prntscr.com/nfh32l).

Best regards,

Oscar

I did that and it ignored it, like "".

The only thing that I've found that works is creating a dummy String Parameter that has nothing in it, i.e., Blank Text, then setting the Modify data field that I want to be empty to the dummy parameter.

Janine White,

I personaly tested "String.Empty" formula value and it removed the value of the string field to an empty value and it should work on your side either.

As for paramter set for the string field as an empty text parameter - it also works and you can also use this parameter if needed.

Best regards,

Oscar 

Oscar Dylan,

When I put String.Empty, not in quotes, in the formula, it displayed "String.Empty", not an empty string, for the field.

Janine White,

Please email us to support@bpmonline.com and provide us with the link to the application and with the name of the section where you try to implement this logic and we will take a look closer. We can't reproduce this behavior on our side so we need to see the field you are trying to change and the process that was created on your side that should change this field.

Best regards,

Oscar

Show all comments

Hi Community,

How we can set up the section fields per role or per user on back end.

 

Like 0

Like

1 comments

Dear Fulgen,

The table that stores all the data about each user section/detail columns sectings, etc is SysProfileData table. You would need find the correct section by Key column in this table and update the SysUserId column with the required role/user id taken from SysAdminUnit table. 

Best regards,

Dean

Show all comments

Hi Community,

I found below link on academy on how to create view object on bpm online.

https://academy.bpmonline.com/documents/technic-sdk/7-13/localizing-views

I created my object schema below

 

 

And execute below script to create the view in database.

After executing the view, I made sure that there is data by executing select query on that view

After doing this, I tried to display the data of this view in a dashboard list. but unfortunately I am not getting any data from this view object on crm. Am I missing something, any idea how i can fix this issue?

Like 0

Like

3 comments

You view do not return Inhrerited columns (

Such as this: id, createdOn, createdBy....) 

 

Hi Grigoriy,

Thanks for your reply, any suggestion how I can fix this

Fulgen Ninofranco,

In order to create a view in the system you need to do the following:

1. Create a new object in the system configuration. Give it the same name as view. Set "Represents Structure of Database View" option to true (put a tick); The object should include all columns, that you will add to the view.

2. Run a script to the database to create a view with needed columns.

Please take into account, that structure of columns in the view should match the object columns structure. 

Based on your screenshot I can tell, that in the object for the view Contact and Account fields will be lookup type columns and will be referred as [Column name]+Id e.g. UsrContactId, UsrAccountId. However, in the view, you have named them simply UsrContact and UsrAccount.  Please check the naming.

Also, as you open dashboards, please open developers console as well (F12). You will see errors indicating which column cannot be found. This will help you to determine the issue.

Regards,

Anastasia

Show all comments

Hi team ,

 

i need some suggestion on how to transfer all data from custom to user created package.

Example : Lets say i have create few custom sections in custom package . Now i want to transfer this to newly created package without any data loss.

regards,

sethuraghav N

Like 0

Like

4 comments

Dear Sethuraghav ,

In order to change the package, please go to system configuration (System designer --> Advanced settings). Find the needed schemas you want to transfer. Open schemas, in the right side panel click on the schema name and choose needed package. Save schema.

Please see the video on the process http://recordit.co/SaSVId5I68

Regards,

Anastasia

The procedure is same for entities ? or is there any procedure or hierarchy i need to follow like first i need to transfer entities followed by module schema and business process . What are the recommended steps ?

sethuraghav,

Business process are quite independent schemas, you can easily transfer them in the first place, or at the end, it does not matter. The only recommendation is to double check that all lookups and objects, used in the process are "visible" to it. What I mean, is that, for example, you have created a new object, which is in Custom package. However, your other package is higher is the hierarchy and it won't "see" objects from lower package in hierarchy, which is Custom.

Same principal with access to objects and hierarchy goes for objects, which have lookup fields, and as result, dependencies to those objects.

To sum up, the procedure is same for entities, modules and processes. Just keep in mind, that you need to have all needed objects in one package, or in the packages on which your package depends. 

To ensure, that you won't have any difficulties along entities transfer, please indicate the package and publish the object. In case or any errors, you will be notified. The other approach is to change package in entities, save them without publish, afterwards click once "compile all items". In any case be sure to compile the application after transfer done.

Regards,

Anastasia

Anastasia Botezat,

Thanks for clarifying this , really appreciate it 

Show all comments

Hi Community,

I have created a Widget, which data is already populating. Any idea how I can filter data and put header labels on the grid and add action buttons on each record in the list.

 

Like 0

Like

1 comments

Dear Fulgen,

You can add filtration an captions in the configuration of your custom widget, in case you have created it via new module. In case you use the basic system functionality of List, there is a second tab when configuring the List. where you can apply needed filtration:

In any case you can find the needed widget in the SysDashboard table. In the "Items" column you can find the configuration of your widget. Here you can indicate column captions as well as filtration ("caption". "filterData"). Dashboard configuration looks like this:

{"DashboardGrid":{"parameters":{"caption":"Top emails by audience","sectionBindingColumn":"Id","sectionId":"9de4f21c-e418-4172-9c3a-1bf1ae366b92","entitySchemaName":"BulkEmail","filterData":"{\"className\":\"Terrasoft.FilterGroup\",\"items\":{\"d357f339-ce45-4586-b832-7f2d90808db5\":{\"className\":\"Terrasoft.InFilter\",\"filterType\":4,\"comparisonType\":3,\"isEnabled\":true,\"trimDateTimeParameterToDate\":false,\"leftExpression\":{\"className\":\"Terrasoft.ColumnExpression\",\"expressionType\":0,\"columnPath\":\"Status\"},\"isAggregative\":false,\"key\":\"d357f339-ce45-4586-b832-7f2d90808db5\",\"dataValueType\":10,\"leftExpressionCaption\":\"Status\",\"referenceSchemaName\":\"BulkEmailStatus\",\"rightExpressions\":[{\"className\":\"Terrasoft.ParameterExpression\",\"expressionType\":2,\"parameter\":{\"className\":\"Terrasoft.Parameter\",\"dataValueType\":10,\"value\":{\"Name\":\"Completed\",\"Id\":\"42328932-9ad6-4512-9950-662ffba2c53c\",\"value\":\"42328932-9ad6-4512-9950-662ffba2c53c\",\"displayValue\":\"Completed\"}}},{\"className\":\"Terrasoft.ParameterExpression\",\"expressionType\":2,\"parameter\":{\"className\":\"Terrasoft.Parameter\",\"dataValueType\":10,\"value\":{\"Name\":\"Starting\",\"Id\":\"c6e21ad8-e243-4656-aafc-1312f97c4521\",\"value\":\"c6e21ad8-e243-4656-aafc-1312f97c4521\",\"displayValue\":\"Starting\"}}},{\"className\":\"Terrasoft.ParameterExpression\",\"expressionType\":2,\"parameter\":{\"className\":\"Terrasoft.Parameter\",\"dataValueType\":10,\"value\":{\"Name\":\"In progress\",\"Id\":\"7789ac0c-450b-40a3-b341-3d6b799649b4\",\"value\":\"7789ac0c-450b-40a3-b341-3d6b799649b4\",\"displayValue\":\"In progress\"}}}]}},\"logicalOperation\":0,\"isEnabled\":true,\"filterType\":6,\"rootSchemaName\":\"BulkEmail\",\"key\":\"\"}","style":"widget-navy","orderDirection":2,"orderColumn":"SendCount","rowCount":5,"gridConfig":{"items":[{"bindTo":"Name","caption":"Name","type":"link","position":{"column":0,"colSpan":16,"row":1},"aggregationType":"","metaCaptionPath":"Name","metaPath":"Name","path":"Name","serializedFilter":"{\"className\":\"Terrasoft.FilterGroup\",\"items\":{},\"logicalOperation\":0,\"isEnabled\":true,\"filterType\":6,\"key\":\"\"}"},{"bindTo":"SendStartDate","caption":"Sent on","type":"text","position":{"column":17,"colSpan":5,"row":1},"dataValueType":7,"aggregationType":"","metaCaptionPath":"Started on","metaPath":"SendStartDate","path":"SendStartDate","serializedFilter":"{\"className\":\"Terrasoft.FilterGroup\",\"items\":{},\"logicalOperation\":0,\"isEnabled\":true,\"filterType\":6,\"key\":\"\"}"},{"bindTo":"SendCount","caption":"Sent","position":{"column":22,"colSpan":2,"row":1},"dataValueType":4,"metaPath":"SendCount","path":"SendCount","orderDirection":2,"orderPosition":1}]}},"widgetType":"DashboardGrid"},"DashboardGrid1":{"parameters":{"caption":"Links by number of clicks","sectionBindingColumn":"BulkEmail","sectionId":"9de4f21c-e418-4172-9c3a-1bf1ae366b92","entitySchemaName":"BulkEmailHyperlink","style":"widget-turquoise","orderDirection":2,"orderColumn":"ClicksCount","rowCount":5,"gridConfig":{"items":[{"bindTo":"Url","caption":"URL","type":"link","position":{"column":0,"colSpan":20,"row":1},"dataValueType":1,"aggregationType":"","metaCaptionPath":"URL","metaPath":"Url","path":"Url","serializedFilter":"{\"className\":\"Terrasoft.FilterGroup\",\"items\":{},\"logicalOperation\":0,\"isEnabled\":true,\"filterType\":6,\"key\":\"\"}"},{"bindTo":"ClicksCount","caption":"No. of clicks","position":{"column":20,"colSpan":4,"row":1},"dataValueType":4,"metaPath":"ClicksCount","path":"ClicksCount","orderDirection":2,"orderPosition":1}]}},"widgetType":"DashboardGrid"}

Regards,

Anastasia

Show all comments

I am trying to create a business rule where date1 should be greate date2 fields and want to stop the form for submission or show some message to user. How is that possible ? 

Like 0

Like

1 comments

Hi Community,

Can you share me any development guide for Page and replacing Page, i cannot find much information about this topic.

Like 0

Like

1 comments

Dear Fulgen,

This element is considered outdated and we do not recommend using it or adding it to any section. This is why there is no documentation regarding this feature. 

Best regards,

Angela

Show all comments

Hi Community,

I have a custom page schema with two fields a text field and a look up field. Any idea how can I retrieve the Id of the selected record from the lookupedit field? I tried below syntax but it is not working:

var UsrGender = Page.LookupEdit1.Value;

Custom Page:

 

Process and Source Code

Like 0

Like

3 comments

I can search for the information on how to do that, but it's terrible obsolete. Please specify why you need that thing. Please consider creating the same functionality on JS. This way you'll find much more documentation and it will be much more comfortable for you to work with it. 

Eugene Podkovka,



Hi Eugene, thanks for your reply. We are using custom page schema because we have a requirement to fully customize a screen and i think it is achievable using custom page schema.

 

Fulgen Ninofranco,

It doesn't explain the reason. I recommend to use JS for all visual customizations. 

Show all comments