For syncing with an external app, I created a user called SyncerConnection.

 

I use DataService to connect with Creatio and I try to get AccountCommunication.

 

401 - Unauthorized: Access is denied due to invalid credentials.



 

You do not have permission to view this directory or page using the credentials that you supplied.



  

But it works for another user.

What is needed for the user SyncerConnection to get data with DataService?

 

Like 0

Like

3 comments

Hello Yuriy,



You can try to add the role of system administrator to your user and see how it will be after that. In case if it doesn't help please mail us on support@creatio.com and give us the external access under the supervisor, credentials of your user and the example of your request. 

We couldn't get the error on our side when we tried to reproduce it with access rights on the operation for the AccountCommunication object and with the restrictions on the CanUseODataService operation (that theoretically might limit the access). In addition, maybe something went wrong with BRMCSRF cookies in Postman when the request was sent on your side, but again it's only our assumption, since we need a full description of the problem. 



Best Regards,

Tetiana

Well, I removed the sales creatio commerce edition cloud license from one user and gave it to the SyncerConnection user and it worked.

But the number of licenses is limited, is it necessary?

Hello,



Yes, that's true that the marketing active contacts license doesn't give a right to work in the system in usual mode and it is used mostly for checking the ability of sending mails from the system.

 

Here are all the rights that the license gives:



Active marketing contact licenses ("marketing creatio 1000 active contacts"). The licenses are used for creating records in the [ Email ], [ Campaigns ], and [ Events ] sections. The number of licenses must not be less than the number of active contacts who receive marketing communications (emails, campaigns, or events).



Best Regards,

Tetiana

Show all comments

I'm getting a reply such as this JSON

        "company_naics_code": [
            "3271201",
            "3332491",
            "327213",
            "333249",
            "3339930",
            "3333187"
        ],

I've linked the propper array (see pictures), but the "3271201" value and so on are not saved to any parameter.

https://prnt.sc/1rli55a

https://prnt.sc/1rli5ii

How do I handle these values in the Web service method page? Surely, I need to use some nested parameter to use the retrieved vaules. But how do I format my Path to element (JSONPath) corrently when they dont have a name?

Like 1

Like

1 comments
Best reply

It's better to deserialize the JSON string directly inside the business process or the logic that you will use when calling the web service and then substruct needed values and pass them to either process parameters or use them according to your needs. Something like this in C#:

or (in case something should be performed from the client side):

If you are going to use the web-service inside the business process don't forget to add Newtonsoft.Json.Linq using in the process properties.

It's better to deserialize the JSON string directly inside the business process or the logic that you will use when calling the web service and then substruct needed values and pass them to either process parameters or use them according to your needs. Something like this in C#:

or (in case something should be performed from the client side):

If you are going to use the web-service inside the business process don't forget to add Newtonsoft.Json.Linq using in the process properties.

Show all comments

Hi community,

 

I'm tryng to upload an image in SysImage entity using odata 4.0 services.

I followed this creatio guide Integrations & API (creatio.com).

Page 22 explains how to create the record on the SysImage entity and how to load the image, but missing how to pass the stream data to the odata service.



Using postman I send a PUT command with a  json  like this

{ "Name": "file.png", "Data": stream image }

the call is completed succesfully, but nothing is uploaded.

Here the postman call to odata service

Like 1

Like

7 comments

Hi Stefano,



Please break your request into two separate ones. 

One with JSON body for "Name" and the second one with binary type body. You need to  attach the  .png file to that second request.



Best regards,

Yurii

Thank you Yuril,

it works fine!

Stefano Bassoli,

Hi Yuril,

the image is uploaded correctly on SysImage entity.

I updated the Contact.PhotoId field using the id of SysImage record used for upload image,

The contact page show a white image for the contact.

What Am I doing wrong?

Stefano Bassoli,



Please make sure that the image is indeed updated, to do so send a GET request to /0/odata/SysImage(id)/Data

Also, make sure to send PATCH request to 0/odata/Contact(id)

to check if the id is updated send another GET request to /0/odata/Contact(id) and check if PhotoId is indeed equal to SysImage.Id of the image you've created. 



Yurii.

Yurii Sokil,

I checked every data are correct, but the image is white.

I loaded the image showed below 



and on contact.PhotoId the SysImage.Id is referenced

Stefano Bassoli,

Hi Yurii,

after some minutes the contact picture is showed correctly,

Thank you very much

Stefano Bassoli,



Hello, I am facing the exact issue, but unfortunately, the image is still white despite waiting over a day. Can you please tell me how you sent the Image content?

Show all comments

Hello

 

I creatio sales, i am trying to set field value from another entity.

for opportunity product, i try to setup its values from the price book record.

when i do that for the price itself - it works great.

but when i try to do this to the description field (unlimited text field) - from one test field to another - its not working.

The 2 fields are the same field type, and the page that i try to insert the value from is the same as the one that i use to take the price... 

Does anyone bump into this issue ? 

Thanks in advance... for any comment :-) 

AGK

Like 0

Like

1 comments

Hello,

 

You can achieve this via a business process by reading the field of one record and then setting it to the other by modify data element.

 

Is there any particular issue?

 

Best regards,

Max.

Show all comments

Hi Community,

 

I have a Customer requirement where the customer only doesn't want the creatio login page. 

 

I think there are 2 ways possible : 

 

1. Is there a way to completely customize the creatio login page, If yes then can you please share any such implementation example.

 

2. It is possible to create only a custom login page to authenticate the users in creatio and then bypassing the creatio login page & redirecting that user directly to the creatio home page. Is this possbile if yes please suggest how?

 

If you have any better suggestions please provide them. 

 

Many Thanks.

Like 0

Like

1 comments

Hello Akshit,

 

Unfortunately, Creatio does not provide any out of the box way to modify the login page, except changing the logo picture. 

 

However, you can modify Login page by modifying NuiLogin.aspx file in the /Login folder. If you need to apply those changes on any instance on our servers simply send us an email with instructions of what should be modified and we will apply the changes. 

 

Best regards,

Max.

Show all comments

Hi All,

I have a use case to create an attachment detail using the custom object in the Pre-Config page. I have created a object having Parent Object as (File).







I have created a detail inside the preconfig Page,







But I couldn't see the detail as attachment in UI rather I could see it as an normal detail,





I have updated the parent page of the Detail schema to FileDetailV2, Even though I am unable to see the attachment changes in UI.



So, I have changed the entity schema name directly in the code as "FileDetailV2",





Now I am able to see the attachment in UI. But having error in the console. This error comes on opening of the page as well as trying to delete any attachment.



Also, In the designed it shows the detial as Unregistered as shown below.





Could anyone help where I have went wrong, how to resolve this issue and create a attachment detail with custom object ?



Regards,

Adharsh S

 

Like 0

Like

4 comments

Hello Adharsh, 



Please change SchemaName back to UsrSchema******Detail and change the Parent schema back to FileDetailV2. Then compile the system. 

IF the issue persists, please contact us at support@creatio.com

Best regards,

Yurii

Hello Yurii Sokil,

 

I have made the changes and compiled my instance. Post that I could see the detail as an attachment. But still, I could face the error in the console on the opening of the pre-configured page and deletion of records too.







Regards,

Adharsh S

Adharsh,



Please contact us at support@creatio.com 

This situation need deeper analysis than we can provide on community. 

Yurii Sokil,

I'm also facing the same error in console while implementing using the above method.

Show all comments

On the Creatio user contacts page, I would like to display statistics according to the selected contact.
Number of calls made, number of opportunities, etc...
Here is my question:
How to link the graphs to the selected contact ?

If i select "Current contact", it is the logged in user who is selected.

As I am on a contact page, I would like the graphics to be linked to the selected contact.

Like 0

Like

3 comments
Best reply

Hello Nicolas,

 

In order to see information for a particular contact in the dashboards you will need to associate the dashboard with section data like this:

It will only work for the records currently displayed in the list. So to see the data for one record only you will have to filter the records so that only one Contact is in the list.

 

Best regards,

Max.

Hello Nicolas,

 

In order to see information for a particular contact in the dashboards you will need to associate the dashboard with section data like this:

It will only work for the records currently displayed in the list. So to see the data for one record only you will have to filter the records so that only one Contact is in the list.

 

Best regards,

Max.

Hello Max,
On Freedom this feature is not available ?
I'm trying to put a classic graph on freedom but I can't find the "access section data" block ?
 

i find it sorry ! the parameter is on the series

Show all comments

Hi,

I created a custom package to integrate ceatio with our own product, how ever i couldn't find a way to return multiple results. When i try to add 2 resulting text i got following error

 

This property is already checked in another parameter. It can only be used in 1 parameter.

 

is there a way to return multiple results like Dictionary ?

Like 0

Like

7 comments

Hi Onur,

 

It's not quite clear what you are trying to achieve. Can you please send more details and screenshots of what needs to be done?

 

Best regards,

Oscar

Hi Oscar,

 

I'm getting following message from parameters window 

 

i hope this message helps you 

Hello Onur,



Could you please send us listing code of the schema and also describe the steps on how the issue has been reproduced?



Best Regards,

Tetiana 



 

Hi Tetiana,

 

https://www.codepile.net/pile/dJQM2vJW

 

i hope this schema code is what you are asking me to.

Onur Erbay,

 

Hi Onur,

 

Have we understood everything correctly and you are trying to input C# code into the JS module and receive an error when specifying parameters in the JS module? Or are you creating a new user task. Please share steps to reproduce the problem.

 

Best regards,

Oscar

i'm adding c# user task, with multiple inputs. I'm trying to get multiple outputs from that user task.

Hello,



We checked the issue and got the same error as you mentioned earlier. The thing is that only one parameter can be a resulting one, since it's in the same user task. The only thing you can try to do is to create one parameter of object type and put everything into it. 



Best Regards,

Tetiana Bakai

Show all comments

Dear community,

My client has to email accounts, because they don't always know the contacts.

 

I think the best way is to add a custom field on the account entity and enable for the account an audiecence (managed object) that uses this field.

What do you think ?

Like 0

Like

1 comments

Hello Stefano,



You can add an email to the communication options detail to the record.





But as for now, you are not able to add the accounts to the marketing campaigns or Bulk Email Audience.



Best regards,

Bogdan

Show all comments

Hi Community,

I've this situation where I need to add a new tab "Preview" and the main objective is have a iframe with a preview of the documents in the attachments, however we try first implement the logic if was a website, because we think that the article that we found on academy "https://academy.creatio.com/documents/technic-sdk/7-13/integration-third-party-sites-iframe"partially satisfies what we want to implement;

  1. First, based on the Web field, we were able to do the preview of the website, as you can see on the image below.
  2. Then, we try to call and access to the storage of the pdf that we have on the attachments (image below), but the only link that we have of the pdf is the link/method to download the file, for example: https://..../0/rest/FileService/GetFile/Id.

In this way we want to know if there is any way to acess a link or storage of the file, with objective to implement something like preview of the document with the iframe on the edit page.

Anyone?

 

Best Regards,

Daniel Longo

Like 0

Like

2 comments

Hello Daniel, 



While it is technically possible to open pdf files using iframe tag, it'd require considerable amount of custom development to implement such preview. 

The link you're referring to is the direct link to the attachment file. 



Unfortunately, we don't have examples of such implementation. 

I'll register your idea and it may be implemented in future releases. 

Best regards,

Yurii.

Hello Yurii,

Is there any progress on this implementation?

 

What are the options that FileService gives us beyond the download file link?

Is there any way of call this link and get Data from response?

 

Best Regards,

Igor Matos

Show all comments