Button
7.12
studio

Hi community!

I add a button section but i want it don't show when I open edit page. In this case, i add a section button on Contact Section. I show images below

Regards,

Thanks you!

Like 0

Like

4 comments

Hello Ezequiel,



You need to define an attribute that will determine the visibility of your button. By default, it will be true. Then you need to override onCardRendered method in your replacing schema for Contact Section and set the attribute as false.

Please, see my example:

 

define("ContactSectionV2", [],

    function() {

    return {

        entitySchemaName: "Contact",

        attributes: {

            "ButtonVisible": {

                "dataValueType": Terrasoft.DataValueType.BOOLEAN,

                "type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,

                "value": true

            }

        },

        messages: {},

        methods: {

             onCardRendered: function() {

                 this.callParent();

                 this.set("ButtonVisible", false);

             }

        },

        diff: /**SCHEMA_DIFF*/[

            {

                "operation": "insert",

                "parentName": "ActionButtonsContainer",

                "propertyName": "items",

                "name": "MainContactSectionButton",

                "values": {

                    itemType: Terrasoft.ViewItemType.BUTTON,

                    caption: { bindTo: "Resources.Strings.TestButton" },

                    "visible": {bindTo: "ButtonVisible"},

                    "layout": {

                        "column": 1,

                        "row": 6,

                        "colSpan": 1

                    }

                }

            }

        ]/**SCHEMA_DIFF*/

    };

});

 

Tetiana Markova,

Hi! I wanted to use this code also, but i have a question. Where do I insert the name of my button? 

Tetiana Markova,

 

I don't know if you are still following this thread, but the problem with this method is that when the user closes the edit page the button is not restored to the section list page.  Any solution?

 

Thanks,

The way I got round the above was to include the following method:

			showSection: function() {
				this.callParent();
				this.set("ButtonVisible", true);
			},

This reshows the buttons.  This is purely a hack and unofficial, caveat emptor.

Show all comments
Button
7.12
studio

Hi community!

How are you?

How could I add a button on row section?

Thanks you!

Regards,

Ezequiel!

Like 0

Like

2 comments

Please investigate the code in the basesectionv2 module. Please use google chrome dev tools for the investigation.

You can create a replacing client module for the section and add the button in the same way as other buttons were added. 

http://prntscr.com/kqgyym

Additionally, you'll need to override the "onActiveRowAction" method and add a handler for the button. 

http://prntscr.com/kqgzs4

 

Miroslav Kytka,

define("AccountSectionV2", ["AccountSectionV2Resources"], function(resources) {
	return {
		entitySchemaName: "Account",
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		diff: /**SCHEMA_DIFF*/[
			{
				"operation": "insert",
				"name": "MyCustomLockAction",
				"parentName": "DataGrid",
				"propertyName": "activeRowActions",
				"values": {
					"className": "Terrasoft.Button",
					"style": Terrasoft.controls.ButtonEnums.style.BLUE,
					"caption": resources.localizableStrings.UsrLockCaption, 
					"tag": "lock",
					"enabled": true,
					"visible": true
				}
			}
		]/**SCHEMA_DIFF*/,
		methods: {}
	};
});

 

Show all comments

Is it possible to generate a signal from JavaScript code?

Like 0

Like

1 comments

Hello Carlos,



Could you, please provide us with more details on your business goal that your are trying to achieve?

Do you need to generate a signal from one javascript module to notify another module about some event? In such case, you can use message exchange - https://academy.bpmonline.com/documents/technic-sdk/7-12/sandbox-module…

Show all comments

Hi Sir/Madam,

I get the below error when I click on compile all items

Cannot run compilation because another compilation is in progress

Request you to please tell me.

Regards

Raghu Ram

Like 0

Like

1 comments

Dear Raghu Ram,

The most obvious reason the the compilation that was launched before or by another system user. Although you might not see it, but once started it should end even if the tab was closed so it might be the thing that when  you were trying to compile previously launched compilation was still in process. 

In case it is occurring all the time and you are sure there is no compilation launched feel free to shoot an email to support@bpmonline.com for further investigation.

Oleh

Show all comments

How to use a detail wizard from one section as a lookup in another section object.

I have PositionDetails as detail object having base object as parent, I need to use this object as a lookup, When I assign this PositionDetails as a lookup to a field I get to see the blank page.

 

Like 0

Like

1 comments

Dear Sekhar,

It seems there is no displayed value selected in the object. You need to open the object used for detail/lookup, add String field (250char) and select it as Displayed field for the object. Once done this field value will be displayed in the lookup field.

Oleh

Show all comments

Hi Sir/Madam,

Can you please tell me how to apply themes in bpm online

Regards

Raghu Ram

Like 0

Like

1 comments

Dear Raghu Ram,

There is no out of the box functionality for applying themes in bpm'online, although you can try some custom themes solution developed in Stylish extension:

https://userstyles.org/styles/browse?search_terms=bpmonline

Oleh

Show all comments

Hi Sir/Madam,

Can you please tell me how to create landing pages inside bpm online.

Regards

Raghu Ram

Like 0

Like

3 comments

Hello,

First of all you should install wordpress plug-in connector from the marketplace via link. There is another community question regarding its setting up and it can be found here. There is an article in our academy regarding landing pages and web forms and you can find it here. For example you want to connect to the web-site www.example.com and have a landing page on www.example.com/landing. Enter the actual landing page URL in the [Website domains] field. For example, the website name is www.example.com. This website has a landing page available at the following address: www.example.com/landing. This address must be entered in the [Website domains] field on the bpm'online landing record page. After all those configurations you will be able to use landing pages functionality.

Best regards,

Oscar

Hi Sir/Madam,

Can you please tell me how to apply themes in bpm online

Regards

Raghu Ram

Hello,

If you want to change colors in the application, you need to click "Color customization" in the system designer and the whole process is described in our academy article.

Best regards,

Oscar

Show all comments
7.12
studio

Dear Team,

                  Sub: I have sent one email to the candidate along with button then candidate click on the button (eg: Accept button). how to get the candidate response and based on response update column status. how to do that? please provide the solution.

 

Regards,

Sekhar.

 

Like 0

Like

2 comments

Dear Sekhar,

In case it was a part of bulk email that was sent with the help of marketing campaigns, the statistics about clicks can be seen on the "Click stats" tab of the corresponding bulk email. In case this letter was sent from the CTI-panel then there is no possibility to get the response on this click. We will inform our R&D team and suggest them to implement this new functionality in one of future releases of the application. Thank you for helping us to make our application better.

Best regards,

Oscar

two buttons with get request (URL) in mail body and a simple service to proceed those requests. 

Show all comments
Sections
7.12
studio

Is it possible to add sections (with edit pages, attachments, tags, etc.) for entities that were created using the configuration page? Sometimes during development it turns out that an entity that we thought will be "internal" has to be displayed to user anyway.

Like 0

Like

4 comments

Hello!

The task you are trying to achieve is rather complex and requires a lot of development. We recommend you to create a new section in a wizard according to the instruction on the academy and transfer your data to it using a process or an sql query. This is the most user-friendly way that involves minimum development. You can read more about creation of the new section in the article below:



https://academy.bpmonline.com/documents/technic-sdk/7-12/creating-new-section



Best regards, 

Matt

Ok, thanks.

Not true. Basically a section object has some special subobjects like [ObjectFolder], [ObjectInFolder] etc. All those objects have parents, so it will not be a big deal to create them. The second part is to create section page a reister it in DB. We're doing such things quiet often when somebody wants a section from inicially detail object. So the thing is to make  few requests to DB and to create some objects. Normally it takes about 10 minutes. 

 

Dmitry S,

Could you, please, give more details on how to achieve this?

Show all comments

Hi Sir/Madam,

When I use mobile app emulator from my computer, I get error as unsupported command-line flag: --disable-web-security. Stability and security will suffer.

Request you to please check.

Regards

Raghu Ram

 

File attachments
Like 0

Like

1 comments

Hello!

This is a normal behavior, since you are using an emulator for an application. Moreover, this flag affects your emulator tab only during the session. Please make sure to allow saving files to the hard drive once you go to the 'bpmonline mobile' tab.

Best regards,

Matt

Show all comments