|
 Managing Assets
With NetObjects Fusion, you can manage all the assets—files, links, data objects, and variables—used in your site. In Assets view, you can navigate to the pages on which these assets appear, delete unused assets, and verify the location of assets that are in use. For information about how to add assets to a site, see
"Page View Basics."NetObjects Fusion uses aliases for files and external links, so you can globally replace an item that appears on several pages—such as a picture or an external link—by replacing the file or link once in Assets view. If you insert a variable in text boxes on different pages, you can edit the value of the variable in Assets view, and NetObjects Fusion updates all instances of
the variable throughout your site automatically. This chapter describes: Managing filesManaging linksManaging data objectsManaging variables Working in Assets View
When you switch to Assets view, choose which kind of asset to view by clicking one of the four tabs below the control bar. You can sort a list by clicking a column heading, and you can change the width of any column by dragging the column divider to the left or right.
Depending on the selected asset type, Assets view lists:
Files | Links | Data Objects | Variables | Name | Name | Name | Name | Type | Link to |
| Contents | In Use | Type | | | Location
| Target | | | Size | Verify Status | | | Date | | | | Verify Status | | | |
Managing File Assets When you click the Files tab, a list of the files associated with your site appears, including external files and those generated by NetObjects Fusion. File types include image, audio, video, applets/plugins, Java class, HTML, data source, and link target.In Assets view, you can add assets, edit asset names, and go directly to the page containing a selected asset. You can verify
the locations of assets in your site, and you can open an asset file for editing in the application associated with it. Replace assets, delete selected assets, or delete all unused assets in a single action. For example, if you have an image file of an arrow that indicates the next page in the site, you could name this asset Next Page and place it on several pages. If you later decide to change the image to a pointing finger, you need only edit the file asset so
Next Page uses the pointing finger image file. NetObjects Fusion automatically changes the image on all the pages that include the Next Page image asset. The File dialog displays an asset's name, location, and the pages on which it is used. To display the File dialog, double-click an asset's name in Assets Files view.
Note:
Image files that you place on stacked pages to populate an internal data object are not listed in Assets view. You can manage such files directly on the stacked pages. For information about data objects and stacked pages, see "Data Publishing." Adding a File Asset - In Assets Files view, from the Assets menu,
choose New File Asset, or click New on the control bar.
The File dialog appears.
- In the Location field of the File dialog, type the path and file name of the asset you want to add, or click Browse and select a file.
- If you want, edit the Asset name and click OK. See
"Editing Asset Names and Locations" below for details. -
To force publication of the file, even if it is not in use, select Always publish file.
- Click OK.
When you add an asset in this manner, it is available for use in your site, but it is not yet actually in use. The asset now appears on the Assets tab in the Open dialog. For more information, go to "Reusing Assets." Editing Asset Names and Locations Giving custom names to assets can make them easier to manage. - In Assets Files view, double-click the asset name to display the File dialog.
- Type a new name into the Name field and click OK.
You can also edit the location directly in the File dialog. For example, you could enter a URL instead of a file path to point to a dynamic image on a server. Such images, however, are
represented by an X in Page view, because the asset is not accessible. Opening a File Asset in an External Application NetObjects Fusion can automatically open a file asset in the external application with which the file asset is associated. For HTML documents, you can specify your preferred HTML editor in the Preferences dialog. To open a file asset in an external application: - In Assets Files view, select the asset.
- From the Assets menu, choose Open Asset.
- Make your changes and save the file in the external application.
Displaying a Page Containing a Specific File Asset -
In Assets Files view, double-click a file asset to open the File dialog.
- Select the page you want to see from the list of pages.
- Click the Go To button.
The page you selected appears in Page view. Deleting a File Asset To delete a file asset:-
In Assets view, right-click the file asset you want to delete and choose Delete File Asset from the shortcut menu.
- Click Yes to confirm the deletion.
Note: You cannot undo this operation. You must use the New File Asset command on the Assets menu to recreate the file asset.
Deleting All Unused File Assets - In Assets view, from the Assets menu choose Delete All Unused File Assets.
- Click Yes to confirm the deletion.
NetObjects Fusion removes all file assets for which the In Use indicator is not Yes. Note:
You cannot undo this operation. You must use the New File Asset command to recreate file assets. Verifying File Assets To make sure assets publish correctly, you can verify that all file assets are in their expected directories.1.
In Assets view, from the Assets menu choose Verify All File Assets.NetObjects Fusion verifies and reports the path status of all files. - When a file's path information is correct, NetObjects Fusion lists the date and time found in the Verify Status column.
- When a file's path information is incorrect and the file or folder cannot be found, the Verifying Files Used by File Assets dialog appears.
2.
Resolve the paths of any lost files or folders.- To specify a new path, click Browse and locate the file or folder.
- To skip the lost item and continue verification, click Skip. NetObjects Fusion gives this file Not found status and goes on to verify subsequent files or folders. If the file is due to be published, you receive a publish error.
-
To stop the verification process, click Cancel. The verification status of the current file or subsequent files is not updated.
3. When verification is complete, click OK in the confirmation dialog. Managing Links When you click the Links tab, a list of all the links used in your site appears, including external links, user-defined internal links, and smart links.
Links between entries in a data list and their associated stacked pages do not appear in Assets view. You can manage such links directly on the data list pages. See "Creating a Data List." Updating an External Link The Link To location varies depending on the type of link. In Assets view, you can change the location of an external link yourself by changing the URL.- In Assets Links view, double-click the external link you want to update.
The Links dialog appears.
 - Change the name in the Name field if desired.
- Update the URL in the Link To field and click OK.
Displaying the Page Containing a Link - Double-click the link in Assets Links view. The Links dialog appears.
- Select the page you want to see in the list of pages.
- Click the Go To button.
The page you selected appears in Page view. Adding a Link - In Assets Links view, from the Assets menu choose New Link, or click the New button on the control bar.
The Links dialog appears. -
Enter a name.
- Type the link destination and click OK.
Deleting a Link - In Assets Links view, select the link you want to delete.
- From the Edit menu, choose Delete Link or press Delete.
- Click Yes to confirm the deletion.
You cannot delete a link that is in use. You must use the Link dialog to unlink. Note: You cannot undo this operation. You must use the Add Link command to recreate the link. Verifying Links
To make sure links will work properly when a site visitor clicks them, you can verify link destinations.1. In Assets Links view, from the Assets menu, choose Verify All Links.NetObjects Fusion displays a progress bar as it verifies and reports the status of link destinations. It accesses the Internet to verify external link references. -
When a link's destination is found, the date and time of validation appear in the Verify Status column.
- If a link's destination is not found, the problem is described in the Verify Status column.
When verification is complete, the progress bar disappears. 2. Resolve the destinations of any broken links by double-clicking the link and editing it as described above in "Updating an External Link."
Link verification takes place in the background, so you can switch to another view and continue working while links are being verified. To verify links through a proxy server, open the Windows Control Panel and double-click the Internet icon. In the Internet Properties dialog, click the Advanced tab, select Use Proxy Server, and configure your proxy server settings. Note:
When NetObjects Fusion cannot verify that an http, rlogin, tn3270, snews, or javascript link is valid, "Unsupported URL Type"displays. If NetObjects Fusion cannot verify a mailto, news, or telnet link, no status displays. Managing Data Objects
Data objects are collections of fields of data. You can use a data object to publish data without using CGI scripts or database programming. For information about data objects, including how to create and delete them in Assets view, see "Data Publishing."
When you click the Data Objects tab, NetObjects Fusion displays a list of all the data objects used in your site. In an internal data object, you can edit the name and field names and add new fields. For an external data object, you can change Simple fields to Image fields and vice versa, but you cannot edit field names or add new fields, because these items depend on data in the external data file. Managing Variables Text variables make it easy to update text that appears throughout your site. User-defined variables are displayed in Assets Variables view so you can edit, create, or delete them. NetObjects Fusion also provides standard variables, such as the date and time the site was created or last modified, but these are not displayed in Assets Variables view.
Adding a Variable
- In Assets Variables view, from the Assets menu choose New User-Defined Variable, or click New on the control bar.
The New Variable dialog appears.
- Enter a name and value for your variable and click OK.
Editing a Variable - Double-click the variable in Assets Variables view.
The Edit Variable dialog appears.
 - Edit the name and value of the variable and click OK.
If you edit the value of the variable, NetObjects Fusion updates all text blocks containing that variable with the new value. Deleting a Variable - In Assets Variables view, select the variable you want to delete.
- From the Edit menu, choose Delete User-Defined Variable.
- Click Yes to confirm the deletion.
Note: You cannot undo this operation. You must use the New Variable command to recreate the variable. Do not delete a variable that is in use. If you do, it will be replaced with Undefined User variable:variable name in the text where it was used.For
complete documentation, please click here. |