Hi I have faced with issue, that I want to add a gif of a loader to the left side of the caption to inform  user that this field is calculating and change it depending on its content For example if it is empty there should be loader gif if it is not it should be like a green tick.

 

Let's say I have already added MyIcon.png and I have field with this data:

 

{
				"operation": "insert",
				"name": "AgbRegisterFormMessage",
				"values": {
					"layout": {
						"colSpan": 23,
						"rowSpan": 1,
						"column": 1,
						"row": 1,
						"layoutName": "AgbIssuanceTabGridLayout"
					},
					"bindTo": "AgbRegisterFormMessage",
					"enabled": false
				},
				"parentName": "AgbIssuanceTabGridLayout",
				"propertyName": "items",
				"index": 3
			},

 

Like 0

Like

1 comments

Hello Behruzbek Mardonqulov,

Thank you for your question. Could you please provide more details to your question: like what business logic should this perform, what exactly you cannot achieve etc. I would like to help, but i do not think that i fully understand your question.

Show all comments

Hey Creatio Community,

I'm currently working on customizing the LeftPanelTopMenu in Creatio, specifically trying to add a personalized icon to the getTopMenuConfig function.

Here's what I've tried so far:

  1. I imported a new image via Creatio's UI, and I can confirm it's in the system.
  2. In my code, I'm attempting to reference this image in the getTopMenuConfig function.

Here's a snippet of my code:

 getTopMenuConfig: function() {
                var menuConfig = [
                    {
                        id: "collapse-button",
                        tag: "CollapseMenu",
                        className: "Terrasoft.HoverMenuButton",
                        style: Terrasoft.controls.ButtonEnums.style.TRANSPARENT,
                        classes: {
                            imageClass: ["button-image-size"],
                            wrapperClass: ["collapse-button-wrapperEl"]
                        },
                        imageConfig: resources.localizableImages.collapseIconSvg,
                        click: {
                            bindTo: "collapseSideBar"
                        },
                        hint: this.getCollapseSideBarMenuItemCaptionConfig(),
                        markerValue: this.getCollapseSideBarMenuItemCaptionConfig()
                    },
					{
                        id: "send-button",
                        tag: "sendbtnMenu",
                        className: "Terrasoft.HoverMenuButton",
                        style: Terrasoft.controls.ButtonEnums.style.TRANSPARENT,
                        classes: {
                            imageClass: ["button-image-size"],
                            wrapperClass: ["collapse-button-wrapperEl"]
                        },
                        imageConfig: resources.localizableImages.sendSvg,
 
                    },

Despite my efforts, the personalized icon isn't appearing. I've double-checked the image name and made sure it's correct.

Has anyone encountered a similar issue or successfully added a personalized icon to the LeftPanelTopMenu? Any insights or suggestions would be greatly appreciated!

Thanks,

ABDERRAHMAN TIGAMI

Like 0

Like

0 comments
Show all comments