Preconditions:

  • User has an account on the Alfresco server
  • There is a Website (Web project) called "mywebsite" where the user has a sandbox.
  • The ROOT folder contains two folders, "products" and "services".
  • The "products" folder contains an html content file, "products.html".
  • The "services" folder contains a blank html content file, "services.html".

Basic course of events:

  1. User logs into Alfresco Web Client.
  2. User navigates to Company Home > Websites > mywebsite
  3. User navigates to user's sandbox
  4. User navigates into the "products" folder.
  5. User clicks on the View Details icon for products.html
  6. User clicks on the Modify icon.
  7. The Edit File Properties screen is displayed.
  8. User fills out / verifies the following fields:
    • Name: "products.html" (required, unique in this folder)
    • Title: "My Company's Products"
    • Description: "A detailed listing of all the products sold by My Company, Inc."
  9. User navigates into the "services" folder.
  10. User clicks on the Edit icon for services.html
  11. The TinyMCE editor is displayed to the user.
  12. In the rich text window, the user enters: "Also see our products page."
  13. User highlights the text "our products page".
  14. User clicks the Insert/Edit Link button.
  15. The Insert/Edit Link popup appears.
  16. User clicks "Browse mywebsite" button.
  17. A treeview of the mywebsite site appears.
  18. User navigates to ROOT > products and selects products.html
  19. User clicks Insert.
  20. The popup disappears.
  21. User clicks Save.
  22. User clicks on the Preview icon for services.html
  23. The Services page is displayed. 
  24. User views the source of the page.
  25. The source contains "Also see <a href="../products/products.html>our products page</a>."
  26. User navigates back to the products.html properties and clicks the Modify button.
  27. User changes the Name from "products.html" to "prods.html"
  28. User navigates back to services.html and clicks on the Preview icon, and views the page source.
  29. The source contains "Also see <a href="../products/prods.html>our products page</a>."

This is all I have for now.  Clearly there are more use cases:

  • Files should be movable.  That is, cut and paste products.html to a different folder, and maintain the links.
  • Non-rich editing of the HTML should be supported.  Thus, the link objects need a reasonable and unique identifier.  For example, the actual products.html file may contain something like "Also see <a href='${links["My Company's Products"].url}'>our products page</a>."
  • Further, other properties such as Title should be accessible: "Also see <a href='${links["Products"].url}'>${links["Products"].title}</a>."
  • And use cases involving embedding of links into structured content via XForms.

--Joe

  • No labels