Hi All,

I'm looking for a way to programmaticaly get a UI component (to set read only property for example) by name.

I want to loop over a predefined array of field names, get their actual component and call setReadOnly on them.

How do I do this?

Like 0

Like

2 comments

Hi Jonas,



You can bind enabled property to a method in diff section like this:



 

define("UsrPage", [],
	function() {
	return {
		entitySchemaName: "UsrObject",
		details: /**SCHEMA_DETAILS*/ {} /**SCHEMA_DETAILS*/ ,
		diff: [
			{
				"operation": "insert",
				"name": "DATEb70c5501-1824-4750-9dc8-2c7ced38a192",
				"values": {
					"layout": {
						"colSpan": 6,
						"rowSpan": 1,
						"column": 18,
						"row": 0,
						"layoutName": "Header"
					},
					"bindTo": "UsrValidityDate",
					"enabled": {"bindTo": "myFunctionCheck"}
				},
				"parentName": "Header",
				"propertyName": "items",
				"index": 2
			},
			{
				"operation": "insert",
				"name": "LOOKUP94e30b0e-aa00-49bb-a050-0103e04cd0fa",
				"values": {
					"layout": {
						"colSpan": 7,
						"rowSpan": 1,
						"column": 0,
						"row": 0,
						"layoutName": "Header"
					},
					"bindTo": "UsrQuoteOwner",
					"enabled": {"bindTo": "myFunctionCheck"},
					"contentType": 5
				},
				"parentName": "Header",
				"propertyName": "items",
				"index": 3
			}
		],
		methods: {
			myFunctionCheck: function() {
				return false;
			}
		}
	};
});

Note, that more than one field can be bound to one property.



Does this work for you?



Regards,

Dmytro

That'll do. Should've thought about that myself! Thanks.

Show all comments



Dear mates,

I'm trying to modify the DCM Opportunity.

I want to add a step before the first step.

But when i create a new step, the opportunity goes automatically to the old first step. i look everywhere i can, but i can't find why.

Does anybody have an idea please.

Thanks,

Nicolas

Like 0

Like

2 comments

Dear Nicolas,

In OOB system "stage" column is required when opportunity is created. You should check what stage is used when opportunity is created: http://prntscr.com/pqzl32

Dear Angela,

Effectively, i add the stage on the mini-page, and the stage used when opportunity is created is not the DCM first step (it is "En cours").

i have to find where the developper has forced the stage on the mini-page to a specific step.

=> Solution:

The default opportunity's stage was defined on the Opportunity Object.

Thank you Angela !

Show all comments

Hi Team,

I wanted to calculate expected value in forecast section in some scenarios based on opportunity. When i checked existing flow on click of "calculate closed and pipeline columns" it is calling StoredProcedure for adding some calculated values in forecastItemvalue table. I made modifications to that SP to add expected value. But when displaying is is not showing the expected values and just showing actual values present in forecastitemvalue table.

 

Please help me if i am going in wrong direction and is there any way to achieve this task.

Like 0

Like

2 comments

Most likely the stored procedure doesn't work because you have feature turned on that changes the logic of the calculation. It would be easier to turn it off and go with the SP.

Here is how to turn it off: 

update AdminUnitFeatureState set FeatureState = 0 where FeatureId in ('8892D623-0F8A-4E0F-BBC4-A64984CC896E', '723F1ECC-1C02-4B8F-A74C-B2FC922CF6C1')



After that I added calculation of the Expected in the Open Cur block (I made it static to test it):

Set @PlanAmount = 123

    insert into  ForecastItemValue (Id, ForecastIndicatorId,[Value], PeriodId, ForecastItemId)

    values (NEWID(), 'CBD311C7-6E1B-4324-BF21-192681349DDF', @PlanAmount, @PeriodId, @ForecastItemId)

ForecastIndicatorId is an id of the Expected type column. 



After pressing the button Recalculate the forecast column Expected was populated: http://prntscr.com/q9x4u3

 

Dennis Hudson,

Thank you for your help. My requirement is fulfilled by using existing feature in 7.15.1 in which we can calculate expected values based on conditions without using SP. 

Show all comments

I am planning activity for multiple leads or contacts at the same time

And, I should also be able to access all the leads or contacts from activities page?

How can I achieve this?

Thanks,

Nagaraju

Like 0

Like

1 comments

Dear Nagaraju, 

If you want just to show all Leads (or contacts) for the Activity you can create a new object (e.g. LeadInActivity) with fields Lead and Activity and display it on the Activity page as a detail matching it by the Object's column Activity and Activity's column Id. 

https://academy.creatio.com/documents/technic-sdk/7-12/creating-entity-schema?document=&_ga=2.244310213.174617871.1572445260-943284580.1572445260

Best regards, 

Dennis 

Show all comments



Hi. I have read the articles about Portal Users that are available;

What portal users are. How to create them. How to set up their rights.

But what I want to know is what can't they do? Surely there must be some limits of a Portal User compared to a full licensed user.

Or is this just a result of what I allow my Portal users to do in my environment? Although I agree and understand that it would not be recommendable to let a Portal user do anything.

 

Best regards,

 

Like 0

Like

2 comments

Dear Julius,

The application portal is a part of the platform used by external users and it is limited. There is no way to turn the portal user into the regular system user. The portal users' functionality is limited by the licenses and the objects permissions. Apart from that, there are a lot of back end functionality which is not compatible with the portal users. For example the portal users will not be able to run the database triggers for majority of the default functionality, access the portal through mobile application, run bulk emails, etc. Basically, there is no point to allow external users to use the application through the portal as a regular company employee. For this purpose, it is better to create a regular user for this individual. Theoretically it is possible to allow external users to use the application functionality on the company employee level, however it can only be done with the help of separate development project. 

Best regards,

Dean

Ricardo Alberto Cruz López,

 

Please note that the emails functionality is not available and cannot be setup for portal users.

Show all comments



Dear mate,

Is there a way to display Opportunities detail content in the section account ?

Thanks,

Nicolas

Like 0

Like

1 comments

Hello Nicolas,

Opportunity detail is already present on account "History" tab. As for displaying its content in section list then unfortunately it is not possible since this detail may contain several records and the application cannot display several rows in one column in section list. We will create a suggestion to our R&D team so to make it possible in one of future versions, but currently it requires complete core logic modification. Thank you for this suggestion and helping us to make our application better!

Best regards,

Oscar

Show all comments

Hi all,

On the Opportunity Section, i have a detail which show me the opportunity's concurrents.

How can i display all the opportunities concurrents on the Account page ?

Thanks,

Nicolas

Like 0

Like

1 comments

Dear Nicolas,

You can do that with the help of the business process.

First, you need to add Accounts lookup on the detail page, which will be used in process https://prnt.sc/pr6t0r It is not necessary to fill it when adding the record on the detail. Once the record is added https://prnt.sc/pr6ts7 I go to my associated account https://prnt.sc/pr6ts7 and see the associated opportunity record https://prnt.sc/pr6usc

Here are the business process settigs:

1. Signal https://prnt.sc/pr6uws

2. Read data element for reading the detail object https://prnt.sc/pr6v0b

3. Read data for reading the opportunity https://prnt.sc/pr6v35

4. Read data for reading the account https://prnt.sc/pr6v5z 

5. Modify data which will update the added Account field on the detail page https://prnt.sc/pr6v8v  https://prnt.sc/pr6ve7

Best regards,

Dean

Show all comments

Hello

So I want to use a calculated field to calculate different kinds of weights. The problem is that I need to get the data from a detail on this page with calculated fields.

It goes like this

-| Shipments Page

---| CBM (field on shipment page)

---| Volume Weight (field on shipment page)

---| Total Value (field on shipment page)

---| Containers (detail on shipment page)

------| Dimensions (field on the detail on the shipment page)

------| Value (field on the detail on the shipment page)

 

If that makes sense so I need to get the data off of the detail that is on the page using client side code preferably (javascript), so I can set up the calculated field. So there can be many containers on this shipment page and I need to be able to sum all of it up and calculate it.

Much like how opportunity amount is calculated off of opp products (which is a detail) I need to do the same but I am not sure how to reference the detail in client side code. Is there anyway to do this? e.g. like how on the opportunity page the opportunity amount is set using the opportunity products which is a detail on the page.

Like 0

Like

1 comments

You can take data directly from the database. Please check what object the detail is related to and select data from it. 

Please find more information about CRUD operations on the client end in the article by the link below. 

https://academy.bpmonline.com/documents/technic-sdk/7-14/crud-operation-implementation-client

Show all comments

Hi. I am having the issue of page Tabs, Field Groups not showing correctly in the section wizard edit mode.

I've had this problems many times. But what is causing this issue?

I'm using the english language (I have not changed language on this environment) on a demo environment with system admin role.

I believe there is a bug causing this. This is the HTML

Like 0

Like

2 comments

Dear Julius,

It seems like the section object did not save the changes correctly. Try to do the following:

1. Go to the system configurations in the advanced settings. http://prntscr.com/phqih3http://prntscr.com/phqiqe 

2. Update the database structure 

3. Generate the source code for all items

4. Compile all items.

It may take some time to perform the last 3 steps. Once you are done, try to clear your browser cache and see if the issue is resolved. If the captions are still missing, please approach our support team via support@bpmonline.com so that we could investigate this problem in your particular environment.

Best regards,

Dean

It works. Thanks Dean!

Show all comments

Please help....

I am seeing the following request dragging when I try to edit & save a contact on my on-prem Bpmonline application (v 7.13). 

Any idea why this is doing that? Has anyone else saw that the waiting screen shows for 40+sec after saving a Contact record? Everytime it is FindDuplicatesOnSave call that kept taking looong time. 

Like 0

Like

1 comments

Hi Kumar, 

The duplicate search service should definitely work faster. You can try debugging it to detect possible issues as described in the "Server code debugging" article. The service name is DeduplicationService, the "Deduplication" package.

The performance delay might appear at the database level, In this case. call the "tsp_FindDuplicate" procedure. You can check how it works.

Hope this helps.

Regards, 

Svetlana

Show all comments