Umbraco custom plugin which interact with database - umbraco

I am new in Umbraco CMS, I want to create a custom module which can interact with database and support cross module interaction.
Either it should be a new Custom DataType or Document type.
Note: I am using Umbraco 7
Thanks in advance..

Related

Umbracco, forms and rich text editors

Looking to understand if it is possible in Umbraco to have a form page, that contains a rich text CMS editor too?
Do I need a plugin?
Umbraco has a paid for plugin called Umbraco Forms (https://umbraco.com/products/umbraco-forms/).
I'm sure there are likely plenty of free plugins for rich text editors if you want to create a custom form.
As mentioned in Bradley's answer, Umbraco Forms package is what most Umbraco Developers would use.
It is not free, but if you are working for an Umbraco Gold Partner company, then it is currently free for your company. If this is your case, then you should be able to generate as many Umbraco Forms licences as you need for your Umbraco projects and use them without any issues, otherwise, you need to purchase it.
After installing the Umbraco Forms package to your Umbraco project, you can create your Forms directly from the Umbraco Backoffice>Forms session:
You use "Answer types" to create your form fields. There is not a Rich Text Editor answer type out of the box at the moment.
Your options could be;
Using a Short or Long Answer answer type.
Using the Title and Description answer type.
Alternatively, you can extend the Umbraco backoffice for Umbraco forms and create your custom answer types by creating your custom Field types as described here . While doing this, you might need some custom workflows, and here is how you can create custom workflows.

Angular2 sub directory of umbraco

I have an umbraco application. I want to integrate angular2 sub directory as a part of umbraco application. If some one type UmbracoURL/Inventory, I want to show angular2 Inventory application. Can any one provide me a solution please...?
Is the Angular2 app a single page app? In that case you can integrate it as part of the Umbraco application.
You'll need to create a template in Umbraco with you Angular2 application, perhaps introduce a new documenttype called Inventory? Then create a new node called Inventory at root level in the Content tree, set the template to new Inventory template. And you should be able to access the angular2 app through the /inventory url.
If you want to use the content of a physical directory in Umbraco, you'll probably have to change the Umbraco/MVC routing

Sub application in Umbraco

Currently I have a website built with Umbraco 4.9.
What are the options to have a sub application (pure MVC 4 preferably) running under Umbraco infrastructure?
The idea is to have a custom app with custom database and custom logic. The only integration points would be:
common user base (authentication)
access to Umbraco's dictionaries from custom app
share same session, that is if user is navigating through pages in
custom app his session should not expire for website
have custom app
under same domain (www.mysite.com for website and www.mysite.com/app
for app)
Thanks in advance
I'm not too familiar with v4.0.9, but I imagine its somewhat similar to 4.7. If that's the case, you should be fine to place your sub application inside the folder structure of your existing umrbaco instance. In IIS, you will need to convert the subfolder into an application. Within the web.config of your umbraco instance, you will need to add the path to your sub app in the umbracoReservedPaths app setting.
I'm not sure how session would here. I believe the asp.net membership should work fine. By adding references to the Umbraco dll's in your mvc project you should be able to access the Umbraco dictionaries fine.

Create custom controller and view in Umbraco CMS

I have Installed the Umbraco CMS using NutGet package. I need to add my controller and views so that they can be integrated within Umbraco CMS.
You'll want to implement something called Surface Controllers. On a side note, be aware that the latest version of Umbraco (v5) is no longer supported. See Umbraco's press release for more information.

How to create user account in grails using netbeans?

I have problem in creating user account in grails using netbeans. Show me the coding of how to create the new user account in grails using the netbeans IDE.
Don't expect this to be quick and easy. You have to create User class yourself before creating new Users, and set it up to work as a User.
Start with learning some security plugin - spring-security, I suggest.
If you need to manage users, start with creating required domain classes and spring-security-ui.
And this has nothing to do with Netbeans or whatever IDE, it's just the code you create with it.
Check out this screencast-series, which explains everything. It is done with SpringSource Toolsuite, but you can do it in whatever editor you use (e.g. Netbeans)
http://blog.springsource.com/2010/08/11/simplified-spring-security-with-grails/
Greetings,
Jan

Resources