Contact
sql
account
duplicates

Hello,

Dear community, 

I've one question : 

Can you tell me the SQL request in order to list the duplicated contacts, and the duplicated account. 

I've tried with the generate db structure and asked the several tables but there is nothing which is done. 

 

Can you help me ? 

 

Thanks in advance, 

Best regards 

Like 0

Like

1 comments

Hello Rocher,

This query is based on which field you are using to determine if the contact is duplicate or not. Here is an example of contact duplicates search result via SQL-query by contact name:

select Name, count (Name) Amount from Contact

group by Name

having count (Name) > 1

Best regards,

Oscar

Show all comments
Contact
contacts
Lead
Leads
account

It used to be when I select a Contact on the Lead page, the Contacts Account is automatically set as the Account of the Lead.

This function has been removed. What happened to it?

Best regards,

Like 0

Like

1 comments

Dear Julius,

Thank you for reporting this issue. Our R&D team has fixed and this feature will be available again starting from 7.15.2 version.

Best regards,

Dean

Show all comments
Contact
detail
Customization
7.14_()
sales_enterprise

Hi,

I want to make the links pasted in the Contact Communication Options detail, clickable. Preferably as explained here: https://community.bpmonline.com/questions/hyperlink-fields .

If possible I would also like to only do this if "CommunicationType" = LinkedIn

Like 0

Like

1 comments

Please feel free to implement the functionality according to the mentioned article.

Show all comments
Contact
7.14_()
sales_team

Hi!

I need emails in contact history will have by default access to some users, but I cannot identify the object to be managed to grant access by default.

In the screen you can see how I have configurec access to email object, but it does not work: https://cl.ly/90ce74590592

Can anyone help me to identify the object?

Thanks a lot in advance!

Like 0

Like

1 comments

Hi,

Since emails may contain personal data its access rights are set up in different way. First of all the [Email] detail is not displayed for contacts who have the “Employee” value specified in the [Type] field. For all other contacts user can see emails if he has access to the mailbox and this can be set up in mailbox settings: http://prntscr.com/o2d47j

Best regards,

Angela

Show all comments
Contact
attachments
database
object
7.14_()
studio



Hi there,

Can someone please let me where in the CRM are all the attachments stored in the database?

So say if I attach a file in the Attachment and Notes tab in the Contacts section, I know that the Attachments detail is called Contact's Detail but which object holds those attachments in the database?

Thanks,

AK

Like 0

Like

8 comments

Hello,

All files are stored as binary data in the "data" column of the object. Each one is stored in their own column, for example 'ActivityFile'

Best regards,

Angela

Angela Reyes,

 

Is it possible to copy the attachments from one object to another by copying the binary data from "data" column of the object.

 

Regards

Sivanesan

Hi,

If the field "Data" contains a correct value and not something like "0x" then yes, you can take this data and add it to another object.

For example, you can do it inside a business process script task.

 

var fileName = file.GetTypedColumnValue<string>("Name");
            var fileType = file.GetTypedColumnValue<Guid>("TypeId");
            var fileData = file.GetBytesValue("Data");
            
            var fileEntity = new ActivityFile(userConnection);
            fileEntity.SetDefColumnValues();
            fileEntity.SetColumnValue("ActivityId", activity.Id);
            fileEntity.SetColumnValue("TypeId", fileType);
            fileEntity.SetColumnValue("Name", fileName);
            fileEntity.SetColumnValue("Data", fileData);
            fileEntity.Save();

 

Dmytro Vovchenko,

 

Thanks for the response Dmytro. I am trying to copy the attachments from section A to section B. I have used "Add Data" element inside a BP to copy the data from A to B. The BP runs without any issue but when I try to open the same attachment from section B its throwing below error.

When I queried the object the attachments(both the sections) , it just shows the data type(System.Byte[]).

 

Can you please show how exactly you copy data in your bp?

Dmytro Vovchenko,

PFB

 

 

It looks like you cannot use "Add record" and "Read record" in this case because they cannot work with the "Data" type. You really need to use a script-task to read and add file:

        var ESQ = new EntitySchemaQuery(manager, AccountFile);
	    ESQ .AddColumn("Name");
	    ESQ .AddColumn("Data");
	    ESQ .AddColumn("Type");

	    var dataQueryResult = ESQ.GetEntityCollection(userConnection);
	    foreach(Entity file in dataQueryResult) {
		    var fileName = file.GetTypedColumnValue<string>("Name");
		    var fileType = file.GetTypedColumnValue<Guid>("TypeId");
		    var fileData = file.GetBytesValue("Data");
			
			var fileEntity = new ContactFile(userConnection);
		    fileEntity.SetDefColumnValues();
		    fileEntity.SetColumnValue("CintactId", contact.Id);
		    fileEntity.SetColumnValue("TypeId", fileType);
		    fileEntity.SetColumnValue("Name", fileName);
		    fileEntity.SetColumnValue("Data", fileData);
		    fileEntity.Save();
	    }

 

Dmytro Vovchenko,

 

I was able achieve it using the "Add data" itself. I missed to update/add the attachment type. After I added it I am able to open the attachment. Thanks for your input.

Show all comments
emails
Contact
contact email

Hi all,

    How can I use business process to check an email existed or not, and add new email for a contact if not existed?

Thanks

Like 0

Like

2 comments

Hello, 

All contact emails are stored in the object Contact communication object, so in order to check if such record exists you need to count records with the email (http://prntscr.com/nu09fv). If the calculated number is 0 you can add email to Contact using Add data element adding the Contact communication option (http://prntscr.com/nu0btq)

Best regards,

Dennis

Dennis Hudson,

Thank you Dennis, it works well

Show all comments
Duplicate Rules
Contact
7.13_()
studio

Does the notification " Deduplication task completed" imply that there are no duplicates in the system?

 

When I run the duplicate search in the contacts section, I get this notification.

Like 0

Like

3 comments

Hello,

This notification indicates that the process of duplicates search is finished, but there are two possible results: duplicates are found or duplicates are not found. To find out if duplicates were found you can go to "Setup duplicates rules" section of system designer and in "Actions" drop-down choose "Show duplicate contacts/accounts". This action will open the list of duplicated contacts or accounts. Or you can click on "Actions" in accounts or contacts section and click on "Show duplicate accounts/contacts" and it should return the list of duplicates.

Best regards,

Oscar

Oscar Dylan,

Alright!

Also, what does this error imply?

I've been getting this error for last few hours when I run the duplicate search.

aaykay,

This error can be received if there are some issues with duplicates search functionality like incorrect procedure (or errors in it) that is executed when the search is started. It is difficult to say without access to the application in which the issue can be reproduced. Please email us at support@bpmonline.com and provide us with access to the application and we will check it.

Best regards,

Oscar

Show all comments
Zapier
google sheets
Leads
Contact
7.13_()
sales

Hi,

 

I am trying to get the details of leads from clickfunnels to google sheets and then using a zap to get them into the instance which are only coming in as contacts. But I want those details to enter the CRM as leads and not as contacts and accounts.

 

Is there a way to get the Leads into the instance? I can only see option for Contacts and Accounts in Zapier.

 

Thanks.

Like 0

Like

3 comments

I created my own Webhook for this purpose and have Zapier call my webhook to pass the data, then I use OData in the webhook to create the lead in bpm'online. The webhook I created was very simple, it's basically just receiving the data from Zapier as fields in the form body from a POST - there really isn't much to a webhook, but you do need a place to host it. 

I'd prefer not to do this, I would love to have the official Zapier tasks for bpm'online allow for more entity types. 

I am pretty sure you could accomplish the same using a landing page and have Zapier call the endpoint for the landing page and you'd modify the payload in Zapier to match the field names of the landing page. I believe this should be possible, but I have not tried it yet. 

Ryan

Can not agree more.... Zapier has lots of capabilities and if only we could use it to its full potential.

Ryan Farley writes:

I would love to have the Zapier tasks for bpm'online allow for more entity types

Hi @ryan. 

 

Did you setup your webhook via Zapier Webhooks? I seem to have set up everything correctly, but am. getting the error:

 

SaveWebFormObjectDataResult

{resultMessage:"Not allowed request URL.",resultCode:-1}

 

I'm using https://hooks.zapier.com as the request URL. 

 

Do you have any ideas? 

 

 

 

Show all comments
Facebook Integration
Contact
7.13_()
studio

Hi,

I have gone through this doc

For a contact, once I try to click on FB button from 'Communication options' than nothing is happening and below errors are showing on browser console

I'm doing this testing on local dev system. If 'http' is causing problem than how to avoid this issue?

 

Any help will be highly appreciable.

 

Regards

Like 0

Like

1 comments

Dear Muhammad, 

The error says that the site needs to be switched to https, you can find the instruction how to set it up here: https://academy.bpmonline.com/documents/administration/7-13/switching-h…

However, the integration with Facebook may be working incorrectly now because Facebook closed the possibility to integrate with closing their API.

Best regards, 

Dennis 

 

Show all comments
debug
relationship
account
Contact
data import
7.13_()
studio

I am trying to import the relationships via an excel file and have followed all the steps in making the file ready and matching the required data types etc.

The file is getting imported and I get a notification that my file has been imported but I can not see the relationships popping up under those accounts and contacts.

Could someone help me debug this or let me know if I am doing something wrong.

Thanks in advance

Regards,

Abhinav

Like 0

Like

2 comments

I get this notification: Import complete. 1 of 1 records imported from the source file "AK_Relationships.xlsx".

Hello

The Relationship table has following columns: http://prntscr.com/mkwsvu

In order to import relations you need to populate the RelationTypeId, ReverseRelationTypeId, Active, AccountAId(ContactAId) and AccountBId(ContactBId) columns. Please note, that you need to fill in the columns with the precise names in order for these relations to be connected to the existing records. Else, the duplicates might be created.

Best regards,

Matt

Show all comments