Basically, I would prefer getting the list from my poco custom table rather from nodes in Umbraco.
But again, I don't know how I can allow the user to select from the list, where the list is coming from another poco table.
If it's coming form another poco table you need to use the Radiobuttonlist field editor check the docs here http://uiomatic.readthedocs.io/en/stable/02.DefaultEditorViews/ basicly you need to set the view on your property and then add some config options, let me know if the example in the docs make sense
No Interface IUIOMaticModel
Hi Guys,
I have just installed the UIOMatic through nuget but when comes to inherting from IUIOMaticModel, there is no such interface.
I have just download the latest one.
I need this to include the validation.
any help would be much appreciated.
Comment author was deleted
Hey, you are probably looking at the docs for v1 (and installed v2).
For v2 docs check out http://uiomatic.readthedocs.io/en/stable/
No more interface we are just using data annotatation to do the validation
Oh thank you.
Erm,, how I can find the Muli node pocker? A content picker but can choose more than one?
Kind regards
Comment author was deleted
Don't think it's available out of the box so you'll need to create a custom editor view http://uiomatic.readthedocs.io/en/stable/03.CustomEditorViews/
But I think with the recent directives in the Umbraco core it should be pretty straight forward
AS Umbraco.MultiNodeTreePicker?
I want for my poco to select from a list of umbraco nodes.
Comment author was deleted
Check this link out http://www.wiliam.com.au/wiliam-blog/reusing-the-multi-node-tree-picker-in-a-custom-section together with http://uiomatic.readthedocs.io/en/stable/03.CustomEditorViews/ that should get you going
Hi Tim,
I'm quite stuck how to implement it.
Can you please help me out, how I can get a multinode picker?
Thank you
Kind Regards
Hi Tim,
I am using something like this:
angular.module("umbraco").controller("MultiPicker.BusinessFeatures", function ($scope, $http) {
});
but when selecting nodes, the ids are not saving. Poco is ok because I tried with a dropdown and it is ok.
any help would be much appreciated.
Comment author was deleted
How does your view look, in that you need to control the property.value
Hi Tim
Are there an example how I can use the multinode picker to select more than one and the values will be stored as comma seperated?
Even when you edit, then, the nodes will be pres elected, getting the ids from the database.
Something basic like this, I assume that is quite straight forward.
As I cannot get it working.
Basically, I would prefer getting the list from my poco custom table rather from nodes in Umbraco. But again, I don't know how I can allow the user to select from the list, where the list is coming from another poco table.
thank you in advance for your help.
Comment author was deleted
If it's coming form another poco table you need to use the Radiobuttonlist field editor check the docs here http://uiomatic.readthedocs.io/en/stable/02.DefaultEditorViews/ basicly you need to set the view on your property and then add some config options, let me know if the example in the docs make sense
Comment author was deleted
Of needs to be Checkboxlist if you need to select multiple
Comment author was deleted
And if you want to have a selector of your poco as a property on content/media/member check out http://uiomatic.readthedocs.io/en/stable/08.PropertyEditors/
I am getting the below error:
this is my code
[Column("Features")] [UIOMaticField(Name = "Features", Description = "Choose business features", View = UIOMatic.Constants.FieldEditors.CheckBoxList, Config = "{'typeAlias': 'BusinessFeature', 'valueColumn': 'Id', 'textTemplate' : '{{Name}}', 'sortColumn' : 'Name', delimiter' : ';'}")] public string Features { get; set; }
Comment author was deleted
Looks like you are missing a ' before delimiter
Solved.
There are an apostrophe missing for the start of the delimiter, int the documentation:
Comment author was deleted
Great :) glad it's solved!
is working on a reply...