Hi! Hi have a problem, when I insert a code on external page dont works code, I had tryed to change jQuery give me by bpmonline, because this dont worked and I had tryed with one external, dont give me exceptions but code dont works, someone know why?



 



   

        $(document).ready(function() {

        // alert("jQuery esta funcionando !!");

        });

   

 

    

 

/** 

* Replace the "css-selector" placeholders in the code below with the element selectors on your landing page. 

* You can use #id or any other CSS selector that will define the input field explicitly. 

* Example: "Email": "#MyEmailField". 

* If you don't have a field from the list below placed on your landing, leave the placeholder or remove the line. 

*/ 

var config = { 

    fields: { 

        "Name": "#name", // Name of a visitor, submitting the page 

        "Email": "#email", // Visitor's email 

        "MobilePhone": "#telefono", // Visitor's phone number  

    }, 

    landingId: "e820083d-8465-4205-9069-e38515795f70", 

    serviceUrl: "https://mc360.bpmonline.com/0/ServiceModel/GeneratedObjectWebFormServic…", 

    redirectUrl: "" 

}; 

/** 

* The function below creates a object from the submitted data. 

* Bind this function call to the "onSubmit" event of the form or any other elements events. 

* Example:  

*/ 

function createObject() {

    landing.createObjectFromLanding(config)

}

/**

* The function below inits landing page using URL parameters.

*/

function initLanding() {

    landing.initLanding(config)

}

jQuery(document).ready(initLanding)

Greetings

Like 0

Like

5 comments

Try to catch the request with Fiddler https://www.telerik.com/fiddler

Check the body of the request and the response. 

This is not the request that the "create-object-debug.js" class sends to bpm'online. Please investigate the code in the class and catch the request that it sends to bpm'online after submitting the form.

show me this on request {"SaveWebFormObjectDataResult":"{resultMessage:\"URL de solicitud no autorizado.\",resultCode:-1}"} 



Json of request is:



{"formData":{"formId":"e820083d-8465-4205-9069-e38515795f70","formFieldsData":[{"name":"Name","value":"tomas"},{"name":"Email","value":"tomas@mail.com"},{"name":"MobilePhone","value":"154545"},{"name":"BpmRef","value":"microinjertocapilar360.com"},{"name":"BpmHref","value":"https://api.tictopsales.com/injerto/"},{"name":"BpmSessionId","value":"d00dc81c-4cd9-4039-9687-669cd02b23ee"}]}}

The [Website domains] was specified incorrectly. 

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-web-case-landing-pages

I can't tell the correct option because you didn't send the full request. There is only the JSON part. Please find the correct URL in the request on our own.

Show all comments

Hi, 

How can the field container by created. for eg in opportunity , client field shows both contacts and accounts in drop down.

 

when checked in Section wizard it looked like

 

Please help.

 

Thank you

Like 0

Like

1 comments

Dear Sriraksha,

There are no basic tools to create similar containers. However, you can look through the already existing containers code, copy it and develop your personal one. 

Best regards,

Dean

Show all comments

Hi!

In a process I finish with the deletion of an object opportunity: 

https://cl.ly/2f1c786e2b28

But it does not execute the deletion, may because there are linked objects to opportunity, but I cannot define how to perform with them.

Any Idea how I can resolve this?

Thanks a lot for your help!

Like 0

Like

2 comments

Dear Sarauzo,

Indeed, it might happen if your lead record has multiple connections with the other entities in the system. You would need to delete them prior deleting this record. You would need to modify your process to delete the connected records as well. The easiest way to know what are those records is to try to delete the record manually from the section. The system will show you the list of associated records. 

Best regards,

Dean

Thanks a lot Dean!

Show all comments

When I create a task with the buttons in the Task Panel. Is there a way to immedietly add more connections from my record, without me having to put them in manually?

 

Like 0

Like

2 comments

Dear Julius,

You can add a business process that will be triggered on creating new activity and make it connect this activity to the records needed.

Best regards,

Angela

Angela Reyes,Great! Thanks!

Show all comments

Hello,

I have a question regarding the Account Address in the mobile application. I have some account addresses that have only country and GPS coordinates filled. When I open the map, the map is focused on the country and not on the gps coordinates. 

Do you know if this is the default behaviour? Are the GPS coordinates sent to the "map" application?



Thank you,

Cristian Galatan.

Like 0

Like

6 comments

Dear Cristian,

 

Our system uses the external resource OpenStreetMaps for showing on the map specified addresses. You can check whether the address (or GPS) you specified is on the map at https://www.openstreetmap.org/. If it needed - you can add the address to this resource so that added address will be displayed correctly in OpenStreetMaps and bpm'online.

Best regards,

Anastasia

Anastasia Polo,

 

Thank you Anastasia for you answer.

So the account address will be shown correctly on mobile application if the OpenStreetMaps is also installed on that mobile device, right? And also if the GPS coordinates are filled for that address the pin on the map will appear?

Dear Cristian Galatan,

It isn't necessary to keep the OpenStreetMaps application installed all the time. Please check whether the address (or GPS) you specified exists and correctly is displayed on the map at https://www.openstreetmap.org/. If there is absent such address - add it. The main idea is - if it is correctly displayed on this map, it will be correctly displayed in the BPMonline.

Best wishes,

Anastasia

Anastasia Polo,

Maybe I didn't asked the right questions. I can see the address correctly on the web application. The pin is also displayed correctly.

The problem is with the mobile application. When I want to see the location on the mobile application, the mobile application ask me what map application I want to use to show me that address. I can choose (google map, waze or any other map application I have installed on that mobile device).

It doesn't open a screen (that maybe is using OpenStreetMaps) to show me the address, like it does on the web application. So is the mobile application not working as intended or do I need to configure the mobile application to do that?

Thank you.

Cristian Galatan,

Sorry for the misunderstanding. To investigate this issue we need more specific information so please submit a case to support@bpmonline.com. Also, specify please the OS version and name of your instance.

Thank you!

Anastasia

How can I map custom City column to be mapped correctly in the Map? I have a requirement to replace the city column with a standard text field as the users are complaining about the finicky data entry of creating lookup values. When creating a city field the MAP API is not working with new field and I would like to know how to fix that.

7.14.3.1686

Show all comments

How can I filter for example all contacts that have same mobile and business phone. (or any other 2 columns in the contacts view, like  same delivery and home address etc)?

Like 0

Like

1 comments

Unfortunately, there are no such filters on the client end. However, you can create a view that will represent the needed data, then create an object in the bpm'online configuration that will represent the view. Then create a lookup in the "Lookups" section that will show data from the object. 

This is how to create an object based on a view. 

https://community.bpmonline.com/questions/how-create-view-object-bpm-on…

This is how to create a view that will display the needed data

create view VwContactPropDupl
as
with 
ContAddr (ContactId, AddressCount)
as
(
	select ContactId, COUNT([Address])
	from ContactAddress ca
	group by ContactId, [Address]
),
ContComm (ContactId, CommCount)
as
(
	select ContactId, COUNT(Number)
	from ContactCommunication
	group by ContactId, Number
)
select 
	c.Id [ContactId], 
	COUNT(c.Id) [DuplicatesCount]
from Contact c
left outer join ContAddr ca on ca.ContactId = c.Id
left outer join ContComm cc on cc.ContactId = c.Id
where ca.AddressCount > 1
or cc.CommCount > 1
group by c.Id

 

Show all comments

Hi ,

How can i define code in the object process that can be overridden it in the inheriting object?

 

Please help.

Thanks in advance

Like 0

Like

1 comments

Create a method and then use it in a script task. 

http://prntscr.com/noyshq

You'll be able to override the method in child objects. 

Show all comments

I have this Script Task code for receiving file name from opportunity files record:

string RecordIdParam = Get("RecordID");

var result = "";

// Creating a query to the "OpportunityFile" schema, adding the "Name" column to the query.

var esqResult = new EntitySchemaQuery(UserConnection.EntitySchemaManager, "OpportunityFile");

var colName = esqResult.AddColumn("Name");

// Executing query to the database and receiving the object with the specified identifier.

var entity = esqResult.GetEntity(UserConnection, new Guid(RecordIdParam));

// Receiving value of the object column.

result += entity.GetColumnValue(colName.Name).ToString();

Set("fileName", result);

return true; 

 

I need to receive, in addition to the file name, the content of the blob to a binary variable for further use.

Can you please tell me what are the lines of code for this ?

Like 0

Like

4 comments

Hello Oren!



If you want to process the data on server side, than you can check how to read data column in FileLoader class. 

But I don`t recommend to work with files in such way. Much more convenient way is described here: https://community.bpmonline.com/questions/where-find-attachments-activity



Idea is not to process and convert the data into some object on server side, but read its value and insert in database where it is needed.



Perhaps, if you will check how system works with files on server side in oob functionality it will be helpful. Just search schemas in configuration with such filters http://prntscr.com/nocypn 

Alex_Tim,

Thanks Alex for your answer.

It won't work for me because I need the file outside the DB, for example to deliver it to an FTP server.

SO do you know how to save it as a Binary variable ?

Or if you can tell me where to find this "FileLoader class"?

Oren Diga,

 

You can simply find it in configuration by entering it`s name.

Basically if you will search by such filters http://prntscr.com/nocypn  you will find many examples. 



Class that I have mentioned earlier ("FileLoader") lays in "FileLoader" schema in "Base" package. It is used for downloading the files. If I were you, I would give some thought to use it in my service or business process.



Regards,

Alex 

Thanks Alex!

This is very helpful.

Show all comments

Is it possible to roll up the monthly forecast to quarterly level easily? I have given forecasting at "customer need" dimension "Monthly". Once Apr, May & Jun Data is entered, can i give another "quarterly" forecasting view where the Q1 is populated based on the monthly forecast entered? Is there any quick provision for this? where are the forecast values stored in? which is the object name?

Like 0

Like

3 comments

Dear Krishna,

Hope you are doing well today.

Unfortunately, there are no any way to adjust different time periods other than that offered in the application. However we have in plans to implement the functionality for more flexible time adjustment. As for now you can only use months.  You can display the required months by adjusting the time periods http://prntscr.com/noitix  As for the forecasting values - they are stored in ContactForecast, AccountForecast and ForecastItemValue tables.

Best regards,

Dean

 

 

Dean Parrett,

Thanks Dean!! But I guess "ForecastItemValue" is made obselete from Ver 7.14. In that case in 7.14 which is the table which stores value? I tried to query "EntityInForecastCell" but got sql error "invalid object". 

Dear Krishna,

You need to use these titles - ContactForecast, AccountForecast and ForecastItemValue. These are correct names of the tables. Indeed, the query to EntityInForecastCell will error since there are no such table.

Best regards,

Dean

Show all comments

Hi,

Is it possible to add custom styles for forecast page ?

i followed 

https://community.bpmonline.com/articles/how-add-or-edit-css-style

I did the first step. But I dint find the replacing client module for forecast page, in order to embed the css file name . Please help.

 

Thank you in advance

 

Like 0

Like

1 comments

Hello,



To create replacing client module:

1. Add new replacing module http://prntscr.com/np9szt

2. Set desired page as parent for module that you created http://prntscr.com/np9thl

3. Add the code to the schema source code http://prntscr.com/np9u9m



Regards,

Alex

Show all comments