7.15_()
-Sales_Creatio
enterprise_edition_()

Dear Team,

How to create and manage different versions of a package using SVN? Do you recommend branching for efficient version control?

Thanks

Like 0

Like

1 comments

Dear Shivani,

Please find the information about managing package using SVN in the articles by the links below:

https://academy.creatio.com/documents/technic-sdk/7-15/subversion

https://community.creatio.com/articles/working-svn-bpmonline-platform

https://academy.creatio.com/documents/technic-sdk/7-15/version-control-system-built-ide

Coding in branches is a simple practice that keeps you and your work more organized. Branches let you easily maintain your “in-progress” work separately from your completed, tested, and stable code. Not only is this an effective way to collaborate with others, but it will also allow you to automate the deployment of updates.

Best regards,

Norton

Show all comments
migration
Export Data
7.15_()
-Sales_Creatio
enterprise_edition_()

HI team,

 

Is there any tool or documentation around backing up Section and Details Data from a particular instance and Migrating it to Another Instance with Same Package.

Let us know.

 

 

Like 0

Like

1 comments

Dear Ashwath,

It is possible to bind data to a package. Then when you transferring the package to another instance, data will be moved too.  Please find more information about binding data to the package in the article by the link below:

https://academy.creatio.com/documents/technic-sdk/7-15/binding-data-packages

Please note that data binding can be used only on small volumes of data (less than 500 records). If you need to transfer large amount of data, it is better to use another data transfer approach. Please consider using excel import for it. Please find additional information about excel data import in the article by the link below:

https://academy.creatio.com/documents/base/7-15/excel-data-import

Best regards,

Norton

Show all comments
dashboards
7.15_()
-Sales_Creatio
enterprise_edition_()

Hi

I wish to have within the Projects Dashboard a list of all activities and separately Project Tasks that are older than today and are not completed. This is straightforward, but means that within the Object selector I just needed to select Activities.

However, I presume because I am in a Project Dashboard and not Activity dashboard, the filters do not work, so I can then filter by one or more of my users.

I have reviewed the settings in advanced filters, but cannot find a way to filter an Activity or a Task Owner within the Project Dashboard. I really do not want to have such information within the Activities Dashboard, as this is data I would like to embed alongside Project data.

thanks

 

Mark

Like 0

Like

3 comments

Hi,

in case if you want to have a list of activities connected to Projects, you should choose the section "Project" in "How to associate with section data" detail as it is shown on the screenshot below:

Also, in case if you want to see all the activities, you just leave that detail blank as it is shown on the second screenshot:

If you have additional questions, please feel free to comment on this. Also, more information and screenshots on your query will be appreciated.



Thank you.

 

Hi Bohdan

Many thanks for your reply firstly.

Sorry, I should have stated that I had tried the Associate with section data settings, trying all available options within that list; project, id etc. 

While some of these have an effect, this effect simply removes all content and does not correctly filter according to the filter applied. I would have expected this to be the correct setting to make this function work, but sadly it does not. At least for me.

Could this be a bug or am I still doing something wrong?

Dear Mark,



There are no bugs related to filtering in the system.

It's hard to solve your issue in terms of Community.

Please email support@creatio.com with more detailed information and with screenshots of your filters so we could help you.



Thank you in advance.

Show all comments
mobile
7.14_()
-Sales_Creatio
enterprise_edition_()

Hi,

I am trying to override a few methods in the MobileFileService class on Mobile as I need to replace the default logic of using the "FileService/GetFile" with a custom fetch logic from Sharepoint as we are using it as our document repository.

I have tried the below steps.

1) Created a new class and overrode the existing logic with the custom logic for Sharepoint.

Ext.define("Terrasoft.configuration.MobileFileServiceOverride", {
	override: "Terrasoft.FileService",
	alternateClassName: "Terrasoft.MobileFileServiceO",
	singleton: true,
	/*
	* @override
	*/
	getDownloadServiceUrl: function(config, schemaUId) {
		var serviceUrl = Terrasoft.ServiceHelper.getServiceUrl("FileService", "GetFile");
		var serviceUrlSP = "rest/SharepointService/File";
		var schemaName = config.fileRecord.self.modelName;
		if(schemaName === "CUSTOM"){
			return Ext.String.format("{0}/{1}/{2}", serviceUrl, schemaUId, config.fileRecord.getId());
		}
		else {
			return Ext.String.format("{0}/{1}/{2}", serviceUrlSP, config.fileRecord.getId(), schemaName);
		}
	}
});

  2) In the manifest file, I included the new class in the "CustomSchemas" attribute.

{
	
	"CustomSchemas": [
        "UsrMobileFileServiceOverride"
    ],
	
	"SyncOptions": {
		"SysSettingsImportConfig": [
			"DefaultMessageLanguage",
			"PrimaryCurrency"
		],

...
...
...
}

While debugging this using the emulator, I see that the method is not getting overridden. It still calls the older method. Am I missing a step here? Any help is deeply appreciated.

Thanks in advance...

Like 0

Like

1 comments

Hi,

This is resolved now. I actually missed another step. We also need to include the new class "UsrMobileFileServiceOverride" as a page extension for the object like opportunity, customer, etc in the manifest file under Models -> Opportunity/Customer -> PageExtensions.

Show all comments
Business Process
7.15_()
-Sales_Creatio
enterprise_edition_()

Whar does "parameter link depth exceeded" mean ???

Like 1

Like

3 comments

Hello Ricardo,

 

Did you get an answer for this?

Yosef,

unfortunately not...

Ricardo Bigio,

Yosef,

 

Got this message when tried to make circular reference. Parameter got value from process element's field and in the process element there was parameter in that field. When running, process tried to calculate field's value and got into recursion.

Show all comments
RunProcessButton
Opportunity
7.15_()
-Sales_Creatio
enterprise_edition_()

Hi,

each opportunity  record has a button that is used to run different processes. This "Run Process" button, has a list of items, "Processes", and I would like to know how can I execute my method after the button is fully rendered, including its items.

For this problem I tried every solution that I found in this question "https://community.creatio.com/questions/method-called-after-page-render…", without success.

Thanks in advance.

Best regards,

Pedro Pinheiro

 

Like 1

Like

1 comments

Unfortunately, there is no method that is triggered after all elements on a page  is rendered. However, we recommend you to try to use onEntityInitialized method. It guarantees that HTML and all data for entity is already loaded. Also please take a look at the setTimeout function in js.

Show all comments
Run Process
Button
edit page
7.15_()
Studio_Creatio_()
-Sales_Creatio
enterprise_edition_()

Hi,

i would like to know how can i access the array of items inside this ProcessRun Button:

I've tried to use "EditPages" and "diff" from the page, but it didn't work.

Best Regards.

Thanks in advance.

 

 

Like 0

Like

1 comments

Dear Pedro, 

You can access the content of the list by getting the value of an attribute RunProcessButtonMenuItems:

 var processButtonMenuItems = this.get("RunProcessButtonMenuItems");

 

Show all comments
notifications
emails
Business Process
7.15_()
-Sales_Creatio
enterprise_edition_()

Hi,

I am wanting to create an email which is generated at the start of the week, which sends out a list of filtered activities my engineers have scheduled that week.

Logic will be:

  1. Read all Activity records which have a start date of This Week
  2. Only those that have a project connection (this I have already worked out)
  3. Send email to the Activity Owner
    1. Detail includes the following example content, where the format is Date - Activity Subject - Project Name and there are multiple entries according to how many activities that user has to perform that week.
      1. 16/12/2019 12:00pm - Create design document for installation - Project: Acme application 10 day consultancy
      2. 17/12/2019 9:00am - Onsite delivery for Kalamazoo - Kalamazoo Migration to O365
  4. Repeat each Sunday at 11pm

The issue I have is how to create the single email to be sent to each engineer with there weeks schedule in an email. I am hoping this can be done in a Process.

thanks

Mark

Like 0

Like

1 comments

Dear Mark,

The required functionality can be implemented through development. In order to do it please use the “Script task” business process element. Please find more information about the element in the article by the link below:

https://academy.creatio.com/documents/technic-bpms/7-15/script-task-process-element

In order to implement the functionality it is necessary to do the following: for each employee select all the activities, where he is the owner and create the body of the email. Then send the emails to every employee using the “EmailSendService” service. In order to cycle through all employees it is necessary that they all belong to the same group. Please find additional information in the articles by the links below:

https://community.creatio.com/questions/business-process-script-task

https://community.creatio.com/questions/business-process-script-task

https://academy.creatio.com/documents/technic-sdk/7-15/entityschemaquery-class-adding-columns-query

If you have any further question, please contact technical support.

Best regards,

Norton

Show all comments
7.15_()
-Sales_Creatio
enterprise_edition_()

How can I make a editable column in Detail with selection from lookup, after added a data in detail, all fields is read only, but I have a column Number, where I need to introduce Number of row.

Like 0

Like

1 comments

Hello Vladimir,

I did everything straight to the article https://academy.creatio.com/documents/technic-sdk/7-15/creating-detail-selection-lookup and both Order and Document fields became editable on my side (here are screenshots http://prntscr.com/qck8v1 and http://prntscr.com/qck98i). There are two cases when the field can be uneditable:

1) You have a business rule specified for this field in detail business rules

2) You have enabled:false specified for this field in detail schema

Please check both variants, one of them provokes your fields to be uneditable.

Best regards,

Oscar

Show all comments
7.15_()
-Sales_Creatio
enterprise_edition_()

I'm trying to upload photo via OData.

I've started with this code: https://community.creatio.com/questions/how-upload-attachments-odata

and this is where I'm stuck: picture is uploaded but nothing changes (product photo is still empty), as if nothing is saved...

 

This is the code that I'm using:                           

using (var fs = new FileStream("c:/temp/otter_tiny.jpg", FileMode.Open))
{
    DataServiceRequestArgs args = new DataServiceRequestArgs();
    //Define content type
    args.ContentType = "application/octet-stream";

    var productImage = new BPMSync.BpmService.SysImage();
    productImage.Id = Guid.NewGuid();
    productImage.Name = "produtImage.jpeg";
    productImage.MimeType = "image/jpeg";

    service.AddToSysImageCollection(productImage);

    existingProduct.PictureId = productImage.Id;

    //Save changes
    DataServiceResponse responces = service.SaveChanges();
    //Write file stream to activity file
    service.SetSaveStream(productImage, "Data", fs, true, args);
    //Save changes
    service.SaveChanges();
}

 

Like 0

Like

1 comments

We figured it out in the meantime, so maybe this will help others:

existingProduct was not actually saved because changing PictureId was not triggering change detection. Manually updating object solved the problem, like this:

service.UpdateObject(existingProduct);
service.SaveChanges();

 

Show all comments