does anyone know if (and how)it is possible to set the value of a custom field when it´s type is "Multi-Select"? I cannot find any information about it in the official Pardot API documentation.
I hope that this is possible... if not, do you know a workaround?
Thanks for your help!
I already tried to set the value of the multi-select custom field as an normal string, but it didn´t work.
Related
I'm trying to build custom field type / plugin in Storyblok according to their guide and need to get selected locale or current slug at least. I don't see such information in Vuejs instance of that plugin. Can anyone advise on it and provide some code how to do it?
This information can now be accessed by the new attribute this.storyItem
I am creating apps using Podio PHP library and want to specify always hidden setting. I have tried it a lot but I did not find any option in the library so can someone please help me to point out how I can specify this setting.
After investigation, I am able to figure it out like how to pass the always hidden. When we are creating an app with fields then for each field we need to provide config array so in this config array we need to pass new property "hidden_create_view_edit" with true and it will create app field with always hidden setting.
Sample config array:
"config"=>array(
"required"=>false,
"label"=>"Name",
"delta"=>1,
"hidden_create_view_edit"=>true
)
I have an issue with displaytag 1.2 and struts.
I am using pagination of display tag. when i 'go' in page 2 and I click sumbit I lost all the value of the list.
How can I keep track of those values?
I mean, in my action i have only the value of the elements current displayed, I need all the value.
Thanks in advance
Kind regards
If you use the value list pattern as they said at their site then you need to handle partial values from your customized class which will implement the org.displaytag.pagination.PaginatedList interface.
But there is another way too where you don't have to do anything except giving some parameter.
Read this Doc carefully
Sharepoint is quite limited when it comes to multi-Lookups because it saves that information in strings. So I changed the Page-Property
"Elements (MultiLookup-> elementIds" on the propertyPage
to an inserted List "PageElements":
"
(SingleLookup)pageId , (singleLookup) elementId"
Because this is quite hard to maintain for my content admins I want that they can enter that information in the page properties like before instead of adding lines into "PageElements"
Therefore I want to add a control that handles that.
I do not need a solution for the task how to achieve that specific function, but a general hint how to add any custom control into a Page property.
I starting point link would be very nice. I just doen't seem to find the right words to feed google with my topic.
Solved this by using a custom field type with that logic. Basicly Described here: http://avinashkt.blogspot.de/2011/07/creating-custom-field-in-sharepoint.html
Yii framework, yii-user extension (using latest version of both, to date): how do I add a simple "checkbox" field for the profile of all users?
I am logged in as admin, and went to user/profileField/admin. I can add new field but the closest I get to is adding a "BOOL" field which is rendered as a dropdown, while I need a checkbox... . When "BOOL" is used I cannot specify the widget and even if I could, there's no documentation on those yii-user widgets.
Any help is welcome!
Open up modules/yii-user/views/user/registration.php. Around line 40, add something like this:
else if ($field->field_type=='BINARY') echo $form->checkBox($profile,$field->varname,array());
Now when you want to create a checkbox field, choose the BINARY field type. If you want to require that it's checked, add this to the 'Other Validator' field: {"compare":{"compareValue":"1"}}
I've had a look around the docs for that extension and I don't actually see a single checkbox anywhere in the screen shots or mentioned anywhere in the wiki either.
You might be able to dive in and add support for one in the places you need it, Yii nicely handles all the HTML elements so it shouldn't be too hard to add the feature in a primitive form. CHtml::checkBox() or CHtml::checkBoxList().
Then again if your already running into problems with it, it's probably going to be easier in the long run for you to write what you need yourself.