1

I want to create a custom data type in Umbraco 7.3 without using AngularJS but I cannot do it because I don't have any knowledge about AngularJs.

I googled and saw that all of examples wrote by using AngularJs.

Is there any way to create a custom data type in Umbraco 7.3 without using Angular?

If not, please introduce some good sources to learning Angular that should be simple and practical.

2
  • Did any of my suggestions below work? What kind of data type are you trying to create? There are data types that merely extend other data types or allow a list of checkboxes, dropdown lists, radio buttons, etc (as per my answers below) or you can have a seriously complex data type that provides a UI for an API. Commented Nov 9, 2015 at 13:32
  • @ForTheWatch After studying about creating custom data type, I have this problem, actually.Please visit stackoverflow.com/q/33509696/1817640 Commented Nov 9, 2015 at 15:47

2 Answers 2

1
+50

No I don't believe it is possible since the interface is all in Angular but I could be wrong. Certainly the method that the team would prefer us to use is the Angular method. I have to be honest it was a little bit of a leap for me too creating my first editor but it's really not that difficult, trust me.

There is a good thread in the Umbraco form here: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/46925-Custom-datatype-in-umbraco-701

And I would advise downloading the Umbraco source as the best examples are in the source itself.

Sign up to request clarification or add additional context in comments.

3 Comments

I think you are right. I must learn AngularJs. What are benefits of Angular that Umbraco team has used it?
I did something after reading some documents about AngularJS.Now, I have a new question about it. Please look at that. (Next comment is about it.)
0

If I remember correctly, you can generate custom property editors using just C# classes and class attributes. Or you can extend existing data types and tweak them. The only problem is you're limited to lists and displaying existing JSON feeds - most of which is best done using extensions like uComponents and NuPickers.

Have you viewed Nibble's blog? He's the primary source for most things data type related.

For your situation, the nuPickers dot net extensions sounds best. There's examples on this link.

3 Comments

Yes, I viewed Nibble's blog. The examples on it for Umbraco 7.x are based on AngularJS. Thank you for introducing UComponents and NuPickers.
can you show me how can I generate custom property editors just using C# classes and class attributes in Umbraco 7.3 ?
Have you tried the older implementations like the charlimiteditor on his site? The methods are deprecated but that's not the same as obsolete so they might still work. The easiest way for yourself might be to use nuPickers. I've updated my answers to reflect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.