VISUAL STUDIO STRUCTURE
The Visual Studio template for creating Apps for Outlook will create two projects.
The first project will be the container for your manifest file. The manifest is an XML document that describes the what is contained inside of the app, the rules about when the app should become available to the user, and the permissions required by the app.
The second project web project, which hosts the code you'll create for your app. This is the container for your code. The default app will contain several JavaScript libraries, including jQuery and the JavaScript API for Office. The JavaScript API for Office includes all of the objects, methods, properties and events you'll need to access the different components of Office to create your app. The web project has the following folder structure.
The Visual Studio template for creating Apps for Outlook will create two projects.
The first project will be the container for your manifest file. The manifest is an XML document that describes the what is contained inside of the app, the rules about when the app should become available to the user, and the permissions required by the app.
The second project web project, which hosts the code you'll create for your app. This is the container for your code. The default app will contain several JavaScript libraries, including jQuery and the JavaScript API for Office. The JavaScript API for Office includes all of the objects, methods, properties and events you'll need to access the different components of Office to create your app. The web project has the following folder structure.
| Folder | Description |
|---|---|
| Scripts | Contains global JavaScript libraries, including jQuery and JavaScript API for Office |
| Images | Global images |
| Content | Global CSS files |
| AppRead | If creating an app for reading messages or appointments, this folder contains the HTML, JavaScript and CSS for all pages to be displayed when this app is in use. |
| AppWrite | If creating an app for writing (or composing) messages or appointments, this folder contains the HTML, JavaScript and CSS for all pages to be displayed when this app is in use. |
The AppRead or AppWrite folder will contain a subfolder named Home. The Home folder is designed to contain the starting HTML file for your app, which is typically named Home.html. You can rename this folder if you wish, but you need to update the manifest. The manifest will contain the path to the starting folder and HTML file. However, it is generally best to stick with the convention supplied by Visual Studio and useHome/Home.html as the starting point.
No comments:
Post a Comment