How To : Uploading a Resource
Page Status: Beta
Contents |
[edit] Description
This document describes how to upload a resource, and then add the resource to your ResourceProject.
[edit] Prerequisites
Introduction to Bungee Builder
Overview : Building a Bungee-powered Application
Understanding Control Bindings
Binding a Control to an Object
[edit] Procedure
You can add images and HTML files (View elements) to your solution by uploading the resource (image or HTML file) and adding it to a ResourceProject.
Uploading a resource:
- Connect to a WebDAV (Web-based Distributed Authoring and Versioning) folder on the Bungee Connect server and upload your images.
- For Windows:
- Open My Network Places.
- Click Add a network place.
- When the wizard appears,
- Click Next.
- Select Choose another network location and click Next.
- Type the name of the WebDAV folder, https://webdav.bungeeconnect.com, and click Next.
- Type your user name and password.
- When the WebDAV folder opens, drag your images from a local folder into the WebDAV folder. Your images are now located on the Bungee Connect server.
- For Mac OS X:
- Open a Finder window.
- Select the Go -> Connect to Server menu item or use command-k.
- In the Connect to Server dialog
- Type, https://webdav.bungeeconnect.com, in the Server Address box.
- Use the new Finder window to manage your files.
- For Windows:
Adding a resource to a ResourceProject:
- In Bungee Builder, add a ResourceProject to your solution.
- Right-click on your solution and select Add Project.
- In the dialog box that's displayed,
- For Type, select ResourceProject.
- In Project Name, type the name for the ResourceProject.
- Click OK. The ResourceProject is listed under the solution along with the other project types.
- Right-click on the ResourceProject and select Import Resource Directory.
- In the file browser, locate the directory containing your images.
- Select the images you want to import into the ResourceProject and click OK. This copies the image files from the WebDAV folder into your ResourceProject.
- In your solution, expand the ResourceProject to see the resource object for the resources you imported.
[edit] Error Handling
[edit] Examples
[edit] Next Steps
Simulating or Testing Your Project or Application