7.12
studio

Hi Sir/Madam,

Please tell me how to call jQuery plugins from Page.

Regards

Raghu Ram

Like 0

Like

1 comments

Dear Raghu,

There is no simple possibility to call jQuery plugins. You need to create a module in a bpmonline and copy/paste code from a plugin to the module. Then add this module to the dependencies list how is described here

 

Show all comments
businessProcess
7.12
sales

I create business processes for printable documents. where if the data is selected accordingly it will display the appropriate document file for each role.

why read the data cant be running. 

 

here some SS.

I need some advice

thank you.

File attachments
Like 0

Like

5 comments

Hello,

Apparently the access rights weren't specified due to the filters being set up incorrectly, or there is no record fitting the filtering criteria,

It isn't quite clearly how the filters should be set up since your configuration, customization and the data are unknown. First you need to check if these filters are capable of finding at least one record in Print Document object:

You can also simply re-distribute the access rights by Title here since you probably have only one printable with such title:

You can also fire an email to support@bpmonline.com with more description so support could provide you with more information/guidelines.

You also want to make sure the object is managed by records, so check the object permissions section.

Oliver

Chairul anwar,

It seems you are trying to set up access rights for printable by the record opened. The access rights are not working in a such way, though. The user will be able to see the printable despite the record being opened if he has read rights, or won't see the printable anywhere if he has no read rights.

Such logic can only be implemented by additional developing. It should be similar to the way business-rules work, Filtering by value of the field and either hiding or displaying the printable option.

Oliver

 

Oliver,

areyou have some example for it? value on session can hide printable.

Chairul anwar,

Unfortunately could not find similar cases, or any example.

Oliver

Show all comments
7.12
sales_enterprise



Hello Community!

Is posible add a filter for a lookup field in a edit list grid? I need filter the lookup base a condition for each row.

Also, is work the dependencies attribute, to execute a function on the field change?

Regards,

https://academy.bpmonline.com/documents/technic-sdk/7-12/adding-detail-editable-list

Like 0

Like

7 comments

Dear Federico,

There was a similar question here about detail filter.

As to your second question, could you explain what do you mean?

Peter Vdovukhin,

 Is not the same question a need filter the items inside of lookup based on the primary id of the row.

Is like add the confg on the attributes to the field in the page edit but in the detail.

And the second question is like add a OnChage on the field of the grid.

http://i.prntscr.com/_BWbe4t1SUymnWMfUvsN-w.png

If speak about the detail filter I still don't see the difference. Could you add more information?

Answering your second question. There is no anything special between changing something in a detail and edit page. So you will need to create an attribute with dependencies and to set what method will fire when the attribute is changed. For example here is an example for an edit page

Or you may look at BaseProductDetailPageV2 schema:

attributes: {

...

                "TaxAmount": {

                    name: "TaxAmount",

                    dataValueType: Terrasoft.DataValueType.FLOAT,

                    dependencies: [

                        {

                            columns: ["Amount", "DiscountTax"],


                            methodName: "setTaxAmount"

                        }

                    ]

                },

...

}

...

methods: {

...

setTaxAmount: function() {

                    var taxAmount = this.calcTaxAmount();

                    if (this.get("TaxAmount") !== taxAmount) {

                        this.set("TaxAmount", taxAmount);

                    }

                },

...

}

...

diff: {

...

{

                    "operation": "insert",

                    "name": "DiscountTax",

                    "parentName": "AmountBlock",

                    "propertyName": "items",

                    "values": {

                        "bindTo": "DiscountTax",

                        "enabled": false,

                        "layout": {

                            "column": 12,

                            "row": 3,

                            "colSpan": 12

                        }

                    }

                },

...

}

Peter Vdovukhin,

 But this is work in a editble list detail? I add the dependencies attribute in a editable list detail and not execute de function.

Yes, It works for me. I tested this yesterday. I told you, check BaseProductDetailPageV2 schema. The setTaxAmount method will be launched when you change some of the dependent columns in an order in a product editable list

Peter Vdovukhin,

In the BaseProductDetailPageV2 the attributes is work on the edit page. I don't have a edit page. I need put the filter in the lookup listed in the editable list detail to filter the field in the image, the equivalent of ProductDetailV2. Exist a example of that?

http://i.prntscr.com/_BWbe4t1SUymnWMfUvsN-w.png

Dear Federico,

Just try it and you will see it works. You may also use Detail wizard from the parent page to add some business rules such filters and making fields editalble and you will see that these rules work in an editable list and stored in a DetailPageV2.

Show all comments
7.12
sales_enterprise

Hello Community!

Is posible set a default active tab when a page is init? Not remember the last tab active.

Like 0

Like

1 comments

Dear Federico,

Yes, it is possible. Lets take CasePage as an example. You will find the method setDefaultActiveTab here.

Simply delete the if part and change the "CaseInformationTab" to any tab you need. This tab will be displayed by default.

Feel free to find similar logic in other pages. 

Oliver

Show all comments
7.12
customer_center

Hello Community!

I'm trying remove the Resolve Button from Case Page and put a merge with the visible false

	{
		"operation": "merge",
		"name": "ResolvedButton",
		"values": {
			"visible": false
		}
	},

But, first time is ok hide, close the page and open again and is show the button.

Any place to remove??

 

Like 0

Like

1 comments

Dear Federico,

Buttons are often added to both Section and Page. Check the CaseSection and make sure you have removed the button there.

Also, the button was completely deleted in newest version of application (7.12.0 or higher), so the best solution will be updating your site ;)

Oliver

Show all comments

Hello everyone!

We are working on a new section and have stumbled upon the following issues:

1.  New records can be created and saved but when one wants to view or edit them the system will not let you do this and instead it will show the new record page (see attached figures). 

2.  Records cannot be erased. We get an error message that says records can't be erased and we must contact the admin.

Do you know what might be causing it?

 

File attachments
Like 0

Like

1 comments

Dear Ricardo,

The issue is more likely caused by the previously improperly deleted column or object from the system. The localizable strings of the existed column might store in the system such way and cause the problem. 

However, in order to give the exact reason, we need to investigate the issue through bpm'online support, since every case differs. As for your request to the support, it is currently in work and we will notify you about the result via email.

Regards,

Anastasia Botezat

Show all comments
7.12
sales

One of my current prospect requires a ‘near me’ feature, which from the mobile device allow to localize the customers or prospects close in a range of 30/50 or 100 kms.

This is hot topic that many customer request now.

have you had the need?? can you sponsor my request by liking it?

Many thanks

 

Olivier

Like 0

Like

1 comments

Try to install the the "Field sales" extension. 

https://marketplace.bpmonline.com/app/bpmonline-field-sales

It allows a position tracking when managers are checking in on market spots. Try to find the way on how it was written in code.

Show all comments
Logotype
layout
design
page designer
7.12
sales_enterprise

Hi there,

In need to change bpm'online logo of loading page.

Like 0

Like

1 comments

Hello,

To do that please contact your manager and discuss all needed details for further implementation.

Best regards,

Oscar

Show all comments
7.12
sales



Hello,

How can we set a grid to filter data when the page loads initially? For example, in the Accounts section, we only want Leads detail area to list Lead records created in the last 2 weeks by default. A button or menu should clearing of the filter and allow the user to display all data if they need it.

Thank you!

Like 0

Like

3 comments

Dear Allen,

There is no built-in functionality for saving detail filters. Visit BaseGridDetailV2 schema and explore its functionality. As a workaround you can save your filters to cache and use load them from there when open the detail again.

Similar idea was discussed here.

Oliver

Is there still no built-in functionality to pre-filter details? This is a pretty standard requirement always required by customers. If this is still not there can you please explain step by step how the filter can be achieved?

Unfortunately, there is no built-in functionality for pre-defined detail filters.

The filter can be created only via js development. It's possible to set pre-defined filter using the filterMethod detail's property. The value of the property is the name of the method which implements custom filters query.

The AccountContacts details in the Account page has such functionality. Please feel free to find the example in the AccountPageV2 schema.

 

Show all comments
7.12
studio

Hello,

I'm new to BPM Online ,I have a requirement to call SOAP service on save click is it possible through web service action from business process and can i call that business process on save button click and display user friendly Message?

Thank You

Like 0

Like

9 comments

Dear Sushma,

Read this set of articles to learn, how to call any webservice from a business process

Thank you. I am able to access with http urls  but I want to access by giving WSDL file so that it must show all the methods in file.And second thing how can i call a business process on save click and display message to end user

If you want to display a message after saving a page, maybe you don't need a business process. Anyway working with SOAP it's a development.

Just add in onSaved() function at your page a call to a function that works with SOAP. There are many javascript code examples in the Internet, that use wsdl and connect over SOAP

Peter Vdovukhin,

I am getting cross domain error while calling web service from Javascript. I am calling XMLHTTPRequest and created soap request and sending the request in the Xml format. I want to know is there any way we can set access control allow origin header?

Dear sushma,

This behavior should be set at the site where webservice is hosted. This error comes from a browser that manages response from the called webservice and expect to get such header as

Access-Control-Allow-Origin: https://mysite.bpmonline.com

Thank You Peter Vdovukhin,

I want to handle in javascript if possible . Presently i can call test service in cross domain from client side using https://cors-anywhere.herokuapp.com/. 

Dear sushma,

I do not see any question related to development in bpmonline. 

Hi Peter Vdovukhin,

I tried to implement in client side but without CORS header seems i can't achieve and in service provided by client they won't provide CORS header. Is there any work around for calling soap web service ? client has provided  WSDL document for SAP service.

Then you really should create your own configuration service that calls a SOAP service. Then you call your service when you need it. The complete example how to create a configuration service and call it from client you may see here

Show all comments