Hi Community,

I am new to bpm'online. I have started my training with on cloud environment. Now,I want to install on-site environment. I went through the steps provided in user guide for installation but I am not able to find DB backup files or initial installation file to proceed. Please let me know where I can get these details.

Any help is appreciated.

Thanks,

Heena Karir

Like 0

Like

1 comments

Dear Heena,

according to our company regulations, we can provide the files for local installation only in case of purchasing our product. Right now for testing you can use our cloud environment.

Thanks for contacting us.

 

Show all comments

Good morning,

I need to make some fields Editable and some not (enabled or not) due some condition. But it doesn't works.

What I did?

1.- on the diff block I replace on every field block:

        replace "enabled": true by  "enabled": { "bindTo": "isUsrGiroEnabled" }, for example:

{
	"operation": "insert",
	"name": "STRINGe657cf87-7461-450e-beb8-8429d591a8ea",
	"values": {
		"layout": {
			"colSpan": 12,
			"rowSpan": 1,
			"column": 0,
			"row": 0,
			"layoutName": "ProductsTabGridLayout30090ad7"
		},
		"bindTo": "UsrGiro", 
		"enabled": { "bindTo": "isUsrGiroEnabled" } // Replaced "enabled": true
	},
	"parentName": "ProductsTabGridLayout30090ad7",
	"propertyName": "items",
	"index": 0
},

2.- Create an onEntityInitialized method to call when the form loads the method evaluate the fileds must be filled or not. (Enabled)

onEntityInitialized: function() { //callback, scope) {
 
	this.callParent(arguments);
 
	this.isCampoEnabled();
},

The method that evaluate if a field is Editable or not

isCampoEnabled: function() {
	// Evalua Tipo de Negocio
	var tipoNegocio = this.get( "UsrLineaNeg" ).displayValue;
	var tipoNegocioCCV = ( tipoNegocio.substring( 0, 2 ) === "CCV" ) ? true : false;
	var tipoNegocioOficinas = ( tipoNegocio.substring( 0, 2 ) === "Ofi" ) ? true : false;
	var tipoNegocioIndustrial = ( tipoNegocio.substring( 0, 2 ) === "Ind" ) ? true : false;
	var tipoNegocioMALL = ( tipoNegocio.substring( 0, 2 ) === "Mal" ) ? true : false;
 
	// Campos que SIEMPRE SON HABILITADOS				
	this.set( "IsUsrRubroEnabled", true );
	this.set( "IsUsrGiroEnabled", true );
 
	if ( tipoNegocioCCV ) {
		// Deshabilida sólo los de CCV
		this.set( "IsUsrRepLegal1Enabled", false );
 
       // the same to another fields
    }
}

What's missing?, it doesn't works. ALL fields set NOT Editable.

Thankjs in advance

Like 0

Like

3 comments

Dear Julio,

Please add a virtual attribute "IsUsrGiroEnabled", which you are setting to true in the "isCampoEnabled" function. The rest of the functionality and approach are correct. Though, after adding the attribute, I would suggest to leave only this.set( "IsUsrGiroEnabled", true ); in the "isCampoEnabled" function, so to check that functionality is working and exclude the possible error in the rest of the function body. On the other hand, you can debug the code in the runtime.

Here is an example of virtual Boolean attribute:

"NumberDoesNotExist": {
        "type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
        "dataValueType": Terrasoft.DataValueType.BOOLEAN,
        "value": false
    }

Regards,

Anastasia

Thanks Anastasia, could be I doing someting wrong, because it doesn't works.

1.- The diff definition

{
	"operation": "insert",
	"name": "STRING439d943b-0a59-4e30-bdf6-e36c310ba8f1",
	"values": {
		"layout": {
			"colSpan": 12,
			"rowSpan": 1,
			"column": 0,
			"row": 1,
			"layoutName": "ProductsTabGridLayout30090ad7"
		},
		"bindTo": "UsrNomFantasia",
		"enabled": {
			"bindTo": "isUsrNomFantasiaEnabled"
		}
	},
	"parentName": "ProductsTabGridLayout30090ad7",
	"propertyName": "items",
	"index": 2
},

2.-Attribute

"IsUsrNomFantasiaEnabled": {
	"type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
	"dataValueType": Terrasoft.DataValueType.BOOLEAN,
	"value": true
}

3.- The code

onEntityInitialized: function() {
	this.callParent(arguments);
 
	this.isCampoEnabled();
},
 
isCampoEnabled: function() {
	// Evalua Tipo de Negocio
	this.set( "IsUsrNomFantasiaEnabled", true );
}

After all of these the field is disabled, what I'm doing wrong?

 

Thanks in advance

Dear Julio,

Unfortunately, it is impossible to determine the exact cause as of now. Could you, please direct this issue on to the support team via email so we could investigate more closely.

Thank you,

Anastasia

Show all comments

I have configured all settings. Restore database in my sql server. Set up redis server. Site is hosted in IIS. But when I am trying to run the website it is throwing an error like below:

 

The "Default" workspace assembly is not initialized

 

below image is screenshot of my issue.

 

Please answer me ASAP. as my work is delay due to this.

 

Thank You.

Like 1

Like

2 comments

Hello,

To fix this issue, please 1) click on 'Compile all items' on the left-hand side panel.

2) Wait until it is completed and you will get a pop up window with the compilation errors that do not allow you to log in. 

3) You will need to fix these errors. In case you cannot fix the errors, you can export the schemas where the errors occur and delete them from the configuration.

4) After that please click on 'Compile all items' again and wait until this is completed. If no errors occur (you have to fix it - point 3), you will be able to log in successfully. 

This is a general algorithm you need to follow to fix such error. 

Best regards,

Lily

Lily Johnson

Hey Thanks Lily. Issue has been resolved.

Show all comments

Hey Admin,

 

I apologize if you get this twice. I submitted this question yesterday, but it is saying I have no posts. 

 

I am looking to have my product quantity automatically deduct when I submit either an invoice or and order (I'm not sure which one this can be done with). I am assuming it can be done when an invoice is paid or an order is completed. I have been looking through Academy to figure this out, but haven't been able to find it. Please help.

 

Thank you!

Like 0

Like

1 comments