Posts

File Structure (Part 1)

Image
There are few ways for people who arrange their folder structures and which i do not wish to invent it. My approach is to arranging my folder structures based on Features not by types What is Type? Angular have alot of types. for example, we have Controller, Services, Directives which are the commonly used. We do not wish to arrange our file structure like this: This file approach is suitable only for SMALL application, for enterprise application, we have tons of Modules and alot of programmers are working on different modules. So before we jump to multiple modules, we should first arrange our file structures by modules. Let say build an intranet application which consists with Employees modules, eTimelog modules and eLeave modules. I would like also to create main folder to stores all my framework (layout, sidebar, navigationbar, footer-bar etc on my site. here is my simple file structure: - common: putting all my modal, services\repositories\utilities class to be

Office 365 for Developer: Baby Journey (1)

Image
Introduction to SharePoint Cloud (Office 365) Introduction This articles for developer who want to start programming SharePoint 2013 Cloud and don't know where to starts. As a developer myself, I too have issue as i have 0 knowledge on where to start. Here are the benefits to the young and wild developers out there. Sign-up for Office 365 Developer Site 1. 30 days trial 2. charge by per user\month after 30 days. Copy from (http://msdn.microsoft.com/en-us/library/office/fp179924.aspx) Once register, you can login into your O365 Admin page,configure all the settings your want and setup all the basic setting and grant yourself to enable SharePoint Online for Developer. Set yourself to enable SharePoin Online Developer: Verify if you can access to SharePoint Online 3. Start a new Visual Studio.NET project and create a sample Test App. a. Select New Project, select Office/SharePoint templates and click on App for SharePoint 2013 b. Key In the follow

SharePoint 2013 - ListFieldIterator Save issue

Image
Background Stories: I need to customize List Item New Form to arrange my fields. I also need to auto generate the fields if user create their own field in the List. I decided to create my own List Definition and create my own NewForm.aspx associate to the List Definition. In my NewForm.aspx, my requirement is to hard-code those fields predefined in the List Definition and combine new fields created into the List. Thus, I decided to use ListFieldIterator control to generate those new fields that not in my NewForm. ListFieldIterator is very intellegent because it will not auto generate the fields if you have created elsewhere(must be before the ListFieldIterator control) in the aspx page. Below is the result that I want. See my xml: Problem When click on [Save] button, the "Title" field is NOT save into my list. I notice that when I look at Fiddle, it called the Client.svc and it will not post back to my current aspx page.  Title field is Empty.

SharePoint 2013 for Developer: Baby Journey (2)

Image
Setting Up SharePoint Farm for SharePoint 2013 Development 1. Setting up Site Collection Host Name Web Application to host all the site collection hosted name a. Create Site Collection Hosted Name Web Application b. Create Site Collection with Developer template Setting up Site Collection Host Name a. The Site Collection Hosted Name Web Application is really an empty web application which tied to your server url (e.g http://servername ). We are using this web application to host all our site collection. For example( http://intranet.company.com or http://developer.company.com ). b. No site collection in it need to be created after creating the Site Collection Hosted Name Web Application at Central Admin. Note: Site Collection hosted name have in SharePoint 2010 also. How a. Go to Central Admin to create a Web Application b. Click New c. Key in Name: SharePoint – Host Port: 80 d. Use the Application Pool or create your own Applica