Hi Team,

 

I'm trying to show the path on a custom embedded map in creatio edit page using the below given code in the edit page of the section for the polyline encoded path. However, it shows no path or coordinates on the map in the edit page. Could anyone help?

 

Diff Block to insert map in the screen:

 

{
				"operation": "insert",
				"name": "GMaps",
				"values": {
					"itemType": 7,
					"id": "googleMap",
					"styles": {
						"height": "500px"
					},
					"items": []
				},
				"parentName": "LeftModulesContainer",
				"propertyName": "items",
				"index": 2
			},

 

 

 

Method 

initMap = function() {
    var map = new google.maps.Map(document.getElementById('googleMap'), {
        center: { lat: 28.4595, lng: 77.0266 },
        zoom: 8
    });
 
    // Polyline encoded string
    var encodedPolyline = "ic`i@ohqfN@A??????????????????????????????????????????????A????????L?HABAH@KEREDEDCJIFEJ??MFMHOHMFIFCF??EBC@ABC@AD@CIFEFCDEDCBCBBCEFC@?@A@A@@CCD?@ABABA@AD@CEFCBA@?@A@CB@AEFEBCDEDEDEF??EFEFGHAFGB@ACFCD?B?BABB?AA@@?AA?????????????????????@A???C@AA??A?@?D??A@?A????????????A@?A??@???A????@@??AA@@A?B?@?@@?A??@?????????????A?@???????????????????????????????A?@?AA??@???????A????@?????A?@?????A?????@A??????????????????????????????????????????????????????????????????????????????????????A?????A@??@AA@??????@@???A?@????????????????????????????????????????????????????????????ACA@??@?????A@?@A????A????ADABCDCDGLEJ??EJEHEJGJEL??ELELCNIJEJ??CJCFCHGHCHEH??EJGLIJMHKH??OHMFMFOFMFMF??KFKFMFOFMDOH??MHKJGJIPOPGH??KFKFG@EHED??GBEHCJGJEHEH??GHAFEBCBCDA??AE@?B?@A@CDAD@C?H???CAA?AA@@?A?A@???????????@?AA?@???????AA?????@?AABA@@?A??A??????????????A??@????@?A@A@CBCFCDGL??EDCDE@ABCF@CEH?DEDC@A?A?@AEHCDEDCLEH??EJEHGJIPGJIL??ELKNIJKLIHEP??EHEFCBADCBAB@CCDC@?@?@?@?AABA@??AA?AAA@@AA?AA???@@AA???????A???@?A?@?????????????A?@?@A?@A???????????????A??@???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????";
 
    // Decode polyline
    var decodedPath = google.maps.geometry.encoding.decodePath(encodedPolyline);
 
    // Create a polyline and set its path to the decoded path
    var polyline = new google.maps.Polyline({
        path: decodedPath,
        geodesic: true,
        strokeColor: '#FF0000',
        strokeOpacity: 1.0,
        strokeWeight: 20,
        map: map 
    });
};
 
$.ajax({
    url: "https://maps.googleapis.com/maps/api/js?key=APIkeyvalue&callback=initMap&libraries=geometry",
    dataType: "script"
});
{
				"operation": "insert",
				"name": "GMaps",
				"values": {
					"itemType": 7,
					"id": "googleMap",
					"styles": {
						"height": "500px"
					},
					"items": []
				},
				"parentName": "LeftModulesContainer",
				"propertyName": "items",
				"index": 2
			},

 

Many Thanks,

Sarika

Like 1

Like

4 comments

Hi Team,

 

Could anyone help, Please?

Maybe instead of referencing the map when creating the polyline, specifically add it after. After creating the polyline add: 

polyline.setMap(map);

🤷🏼‍♂️

Ryan

Hi Ryan,

 

Thanks for the response. Tried this but still not working.  

Sarika Sharma,

Might have better luck in a forum for the maps api or StackOverflow.

Ryan

Show all comments

Hi, 



     I input the Chinese address in the address of Account, but the map below can't reflect the actual location(please see attachment),

Is it because that Creatio don't support Chinese character right now? please kindly help. 



    I use the instance of Japan, which is the version of 8.11.3635.

File attachments
Like 0

Like

1 comments

Hello,



For a more detailed analysis of this issue, please email Creatio Support: support@creatio.com.

Show all comments

Hello , Does Maps work in Mobile App Offline ?

Like 0

Like

1 comments

Hello,

 

You can inspect the Account address detail as an example of integration with OpenStreetMaps in the system and Field Force application as an example of maps functionality on mobile apps. 

Show all comments

Hello Team,

When I create an address the GPSN and GPSE fields are not updated. THe map although shows the excat location as it should be. Any idea why this can happen ?

Sasori

Like 0

Like

3 comments

Hello, Sasori!

 

Could you please provide more details on how exactly did you add an account address?

Please note that GPS N and GPS E fields will populate only if you add an address manually.

For example, if you add value using import the fields won't be populated automatically.

Also, please try to reproduce the issue again but with an open browser console (press F12 to open it).

There might be errors that could help us find the cause of the issue.

 

Best regards,

Kate

Kate Karpik,

Thank your for the reply Kate.

The Account data and Account adress data are added in the system through integration with third party system via ODATA.

Should the problem exist in this scenario ?

Sasori

Kate Karpik,

From what I can understand the update of the GPS fields is done only when clicking Save (front-end event) in the Account Address.

Is there any way or workaround to update these fields if the Account and its address are created via the OData4 Protocol ?

Show all comments

Is it possible to add a google map with the address of a given account in the accounts section? And if so, how to do it?

Like 0

Like

4 comments

Hi!

 

Thank you for submitting the question.

 

You may find the add-on by the link: https://marketplace.creatio.com/app/google-maps-route-creatio

Among the key features it has:

  • Set up to five Contacts or Accounts in a sequence and get a Google Maps route to their addresses
  • Option to use either my location or first address as a starting point.

Hope you find the information to be useful.

that's not what my question is about. I meant the account page has a map as an iframe or something. Don't want a extenstion for application hub

+ 1

This article shows how to add an IFRAME on a tab. You could construct the necessary maps URL and then set in the frame to display the map for that account.

https://customerfx.com/article/embedding-a-webpage-on-a-tab-in-bpmonlin…

Ryan

Show all comments

Hi All,

 

I Installed the toolkit for map view(https://marketplace.creatio.com/app/toolkit-setup-map-view-creatio ) but when I tried to follow the guide I stuck in second step, I didn't find "BaseModulePageWithMap" in the card schema.

 

I created my section within a new package, also I added the dependencies to my package but I didn't find "BaseModulePageWithMap".

 

Like 0

Like

2 comments
Best reply

Hi!

I have checked this add-on and was unable to reproduce the issue. The steps I took are as follows:

 

1. Install the add-on.

2. Create a package and set dependencies.

3. Create a custom section that includes a page.

4. Open the page source code in the configuration and change the parent object to "BaseModulePageWithMap."





Could you please tell us the steps you took?

Hi!

I have checked this add-on and was unable to reproduce the issue. The steps I took are as follows:

 

1. Install the add-on.

2. Create a package and set dependencies.

3. Create a custom section that includes a page.

4. Open the page source code in the configuration and change the parent object to "BaseModulePageWithMap."





Could you please tell us the steps you took?

Yevhen Vorobiov,

Thanks a lot, it works now

Show all comments

Hi community,

I tried to install the application "Map widget for Creatio" from the Marketplace in a sales-team-marketing-demo environment (v. 8.0.1) and it's not working!

I have configured the map chart dashboard but it's not loading and if I open the inspector I find this errors in the console log:





Can you help me?

Let me know!



Thanks in advance.

Best regards,



Luca

Like 0

Like

1 comments
Best reply

Hi Luca!
We reviewed the add-on and reproduced the issue on our end. That was an out-of-the-box compilation-related error. When installing the package, the system did not compile and did not generate static content.
We plan to fix this problem in future versions of Creatio. For the time being, I recommend recompiling your system.

Hi Luca!
We reviewed the add-on and reproduced the issue on our end. That was an out-of-the-box compilation-related error. When installing the package, the system did not compile and did not generate static content.
We plan to fix this problem in future versions of Creatio. For the time being, I recommend recompiling your system.

Show all comments

Hi community,

 

I was trying to implement a section under the "Sales" workplace just to have a google maps view of the adresses directly related to my customers under the "customers" or "accounts" section. I was searching some add-ons to do this and i found this one https://marketplace.creatio.com/app/google-maps-route-creatio and this one https://marketplace.creatio.com/app/toolkit-setup-map-view-creatio but nothing seems to work. I had many problems with the toolkit and when following the installation steps, it seems impossible to find the "Maps" tab under the concerned section. The first one, "google maps route creatio" has no documentation and I don't have a clue on how to install it and make it work. 

 

Could it be possible to implement a custom google maps API ? If yes, how could I get the latitude and longitude and retrieve the adresses of the contacts under the "customers" and "accounts" sections ?

 

It's a really simple thing to implement in JS/html/css but I have no clue on how to do this in Creatio.

 

Thanks a lot for your help.

 

Best regards,

 

Jonathan

Like 0

Like

2 comments

Dear Jonathan,

 

Thank you for your question!

 

In this case we would recommend contacting [Google Maps route for Creatio] support via email - support@chessit.se

 

Hope this helps!

 

Thank you!

 

Regards,

Danyil

Hi Jonathan,

 

Creatio Marketplace has a mapping tool called Mapsly geocode your records based on coordinates/address and save correspondingly coordinates/address back to Creatio.

 

You can also show pins of your contacts on the map, assign territories, build routes, etc.

Show all comments

Dear,

Does an add-on that would show customers on a map exist ?

For example, a saler wants to know all accounts near the place he is.

Like this:

Thank you

Nicolas

Like 1

Like

4 comments

Dear Nicolas,

 

The is such option by default nor similar addon on the marketplace. We've registered your idea in our R&D team backlog to consider such implementation in future application versions.

 

Regards,

Dean

Is it exists in newest version? 

Dear Dmytro,



This functionality wan not implemented in the new version. Our R&D team still working on that.



Best regards,

Bogdan

Hi Nicolas,

 

Creatio Marketplace has a mapping tool called Mapsly that can geocode your accounts based on coordinates/address and display them on the map.

Show all comments

Hi Community,

I have a scenario below, that we want to apply on the mobile app

1. On Case edit page there will be a link to open a map

2. On the map user can move a pin to indicate his current location.

3. Capture the location(long/lat) based on the location of the pin

Any idea how I can implement above scenarios?

 

 

Like 0

Like

3 comments

Dear Fulgen,

You can inspect the Account address detail as an example of integration with OpenStreetMaps in the system and Field Force application as an example of maps functionality on mobile apps. 

Best regards,

Angela

Angela Reyes,

Thanks Angela, I tried in Account address detail, by clicking it map is opening, what I need is that user should be able to pin location on the map, then will capture the coordinates(long/lat) and save it back in case edit page in mobile. Do you have any sample for this.

Fulgen Ninofranco,

Try checking Field Force application as well as it contains map for mobile application. Unfortunately we do not have any example of such customisation. 

Show all comments