Kentico Display webpart property field depending on other property field's value - kentico

Is there anyway I can dynamically hide and display webpart property fields depending on other fields for the same webpart?
For example I only want to display/enable Full Screen if Apply To's selected value is "container":
I tried doing this but it doesn't work

Yes this can be done. On the property you are checking (ApplyTo) make sure you have checked the "Has depending fields" property checked. On the property you want to toggle the visibility on, in the Visibility condition field, enter:
ApplyTo.Value == "container"
And also make sure it has the "Depends on another field" checked.
This will dynamically hide/show the field based on the value you have in the ApplyTo property.

You can follow as below
1.Go to on Apply-To property in web-part then set 'Has depending fields' is checked.
2.Go to on full-width property in web-part then set Visibility condition: ApplyTo=='container'
you can also check this
https://devnet.kentico.com/articles/using-dependency-fields-in-forms

if you are talking about forms you can do it - there is a good tutorial: Using dependency fields in forms

Related

When my toggle is selected as yes I want a default value to be inputted into my dropdown box below, how do I do that?

Here is an image of it. I want the default value to be Open when the toggle is selected as yes.
Change the Default setting for the dropdown control to a formula along these lines:
If(MyToggle.Value=true,"Three","One")
If the control is a Combobox, which is what's used for a SharePoint Choice column, then the items are records, not just a list of text. For a combo box you need to change the property for "DefaultSelectedItems" and set it to something like this:
If(MyToggle.Value,{Value:"Three"},Parent.Default)
Make sure that the value you are using is a valid one according to the SharePoint choice column definition.

Spotfire Where can I see how were the property controls set up?

I am trying to duplicate a page from one dashboard to the other. In order to do so, I need to create the same property controls that are on the original page to my new page. Where can I see how were the property controls set up?
I've tried several things:
1. under Document Property - Properties, I can only see the first value for that property control but still don't know what are the rest.
2. I am trying to dropbox-list the property control under text area, but when I click on the name of the control - the content does not show the corresponding setting of the control, which only let you to create/edit from the default.
Thank you so much for your help!
Since you stated you are trying to see what the mappings are to a property control used in the text area, you have to "edit the text area" to see it.
In the text area, Right Click > Edit Text Area > Double Click the Property Control
This will bring up the configuration, specifically what the values are set to.

Changing the Type of the Custom field

How can i change the Type of the Custom field in Acumatica?
I created a new custom field of "ComboBox" Type for the Sales Order Header Section.Now i would like to change its type to "TextEdit" so the user can manually enter any value in it. So far there are only few Sales order where user has entered the value in this field.
Thanks
Combo boxes are stored in string fields in the database - you can therefore easily replace the control on the page with a text edit field. The simplest way is to remove the combo box from the layout editor, and then adding it back as a text box from the "Add Data Fields" tab. If you want to modify the properties of the field itself, you have to go to the Data Access section and modify the attributes of the field (PXDBString + remove PXStringList attribute if you have one). Lastly, if this is a field you were creating as part of your customization project, you might have to manually edit the Table node of the project XML (File -> View Project XML)

Salesforce - Setting field to Read Only

I am having a dilemma changing a field from Read only. I have a custom field which is a fomula(Checkbox). Field level security is set to visible for all profiles and the Read only checkboxes are also checked for every profile. I am unable to de-select the Read only checkboxes. I tried changing the field from Read only in the layout but I can't seem to be able to uncheck that as well. What can I do about this? The field is set to Read only on my profile and I can't seem to be able to uncheck the Read only when I edit the profile.
Do I need an admin to change this setting?
Formula fields are always calculated, and therefore always read-only, perhaps you want the field to have a default value formula rather than a calculated value?

Set Default Field Value Based on Site Property

I am looking for a way to set a list field default value to a property that I have programmatically set on the site where the list resides.
Essentially every item in the list will have the same value which will be hidden from the normal user view. Down stream, I am using a content query web part to pull that field so I can group on it.
I am using SP2013.
Thanks for the help
With Site Properties you mean the SPSite.RootWeb.AllProperties property bag which you have filled with some custom property?
Assuming that is what you are talking about, there are unfortunately no standard ways to work with property bags - besides programming that is.
You said you want to set a default value on a list field for each list item. This sounds like an event receiver! You can choose to have it fire on item updating and/or item created for all your items and always set the hidden field on the item with the value from the site properties.

Resources