Update 4.14.17

Fix: Application.GenerateHTMLMenu(MenuItem, Depth, IncludeURLWithSubMenus) did not include the URL menus with sub-menus when requested.

Update 5.1.2

Fix: Error in new process path when parameters attribute passed in URL.

Update 4.14.16

Fix: Error when confirmation message included an apostrophe.

Fix: When an attachment is deleted the file is deleted if it is in the item's local folder.

Update 5.1.1

New: Base styles.

Fix: After adding a new item via BusinessCollection.AddNew the system now redirects back to the collection view.

Update 5.1.0

New: Learning management system: Courses, Modules, Activities, Enrolments and Results. Courses inherit trading items so together with the order management systems they can be ordered and paid for creating an enrolment. A course can have many modules which are used to group activities. Activities are currently simply video tutorials but future development will include assessments or other activities to be determined. A student (user) must be enrolled in a course before they can start it. Results are currently only record the status of the activity (in progress or completed). Future developments may include assessment results.

New: Articles (pages, blog posts, testimonials, courses, etc.) can have a video.

Fix: Adding a new item with a file/image did not upload the file/image to the correct folder.

Update 5.0.1

Fix: When resetting the parent membership expiry also reset the auto renew in child memberships.

Fix: Allow edit on Membership.AutoRenew.

Proposed New Shortcuts and Template Selection

Shortcuts

Shortcuts will match the business objects structure starting from the application (website). For example, any application object property or method accessible by the user can be accessed as follows:

/login will return a form for the Website.Login method

/register will return a form for the Website.Register method

/configure-components will return a form for the Website.ConfigureComponents method

/user will return the logged in user profile from Website.User

/licensee will return the licensee profile from Website.Licensee

From there we can add properties to the application (website). For example, Add a property called Shop which returns a collection of products filtered to only published products sorted by date published descending. Now I can access it as:

/shop

Now say I want to filter it by a category. First, I need to create a category filter method on the products collection as Products.FilterByCategory(Category) returns Products (self). The Category parameter can be an ID, FileName or Category object. So, we can now return a filtered shop as:

/shop/filter-by-category/furniture

Which will in essence run Website.Shop.FilterByCategory(“furniture”)

Now /filter-by-category is not very nice in the URL so for each property and method you will be able to set an alternative filename. For this one I would simple call it category. So now it can be accessed:

/shop/category/furniture

Now we can add more filter methods to products for tags, brands, authors, etc.

/shop/category/shoes/tag/white/brand/nike

They can be in any order and end up with the same result, for example:

/shop/brand/nike/category/shoes/tag/white

You could also call the same filter method multiple times:

/shop/tag/large/tag/round/tag/white

You can also add methods to a collection to sort, for example, say I create a sort method which simply set the sort order on price as Products.SortByLowestPriceFirst() returns Products (self). I would give it a filename lowest-price-first. Then it could be called via:

/shop/lowest-price-first

To access an item in the shop it would be simply:

/shop/item/widget

Which will return Website.Shop.Item(“widget”)

Again, it is not very nice to have /item in the URL so I will make it the default method of the collection. So now you can access as:

/shop/widget

Which will return Website.Shop(“widget”) which is the same as Website.Shop.Item(“widget”)

If you want to use an ID, you can similarly say:

/shop/1234

Which will return Website.Shop(1234) or Website.Shop.Item(1234)

Note: to edit an object/item you need to add /edit to the URL. For example:

/shop/widget/edit

Note: any filename of an item in a collection cannot be the filename of a property or method in a collection. For example, say you name a product “tag” then /shop/tag will bring up Website.Shop.FilterByTag method, not the product Website.Shop(“tag”), as the FilterByTag method has a filename of tag. Filenames are searched for in properties first, then methods and if not found applied to the default method which in this case is Item. Alternatively, the product tag in this case, you would have to call via the item method or ID as follows:

/shop/item/tag

/shop/1234

Here are a few more examples:

list all the related items of the widget product

/shop/widget/related-items

Website.Shop(“widget”).RelatedItems()

list other products the supplier of the widget

/shop/widget/supplier/products

Website.Shop(“widget”).Supplier.Products()

Add widget to cart

/shop/widget/add-to-cart

Website.Shop(“widget”).AddToCart()

List all with price less than 1000

/shop/price-less-than/1000

Website.Shop.FilterByPriceLessThan(1000)

 

Let’s examine a few URLs:

/user

Website.User()

/register

Website.Register()

/contact-us

Website(“contact-us”)

/countries

Website(“countries”)

/members

Website(“members”)

/members/rules

Website(“members”)(“rules”)

/members/board-members

Website(“members”)(“board-members”)

The system will first check the properties for the filename, then methods and finally and if not found will apply to the default method.

/user was found in properties

/register was found in methods

Notice /contact-us, /members and /countries were all found in the default method. We could set up a default method on the application called Item and in that method we search for the filename first in pages then groups and finally collections. So:

/contact-us returns a page

/countries returns a collection

/members returns a group

With /members/rules and /members/board-members we would also need to set up a default method on Group and call it Item which we search for the filename first in pages then subgroups. So:

/members/rules would return a page

/members/board-members would return a subgroup

 

Template Selection

The template name will match the calling properties/methods firstly otherwise the outputs type then any inherited types.

URL

Template Name Used in Priority

/login

website.login

method

/shop

/shop/category/furniture

/shop/brand/nike/tag/white/lowest-price-first

Note: Due to the filter and sort methods returning the
same collection the same templates will be used as /shop

website.shop

products

trading-items

articles

items

business-collection

business-object

/shop/widget/supplier/products

website.shop.item.supplier.products

user.products

products

trading-items

articles

items

business-collection

business-object

/shop/widget

website.shop.item

product

trading-item

article

item

business-collection-item

business-object

/shop/widget/edit

website.shop.item.edit

product.edit

trading-item.edit

article.edit

item.edit

business-collection-item.edit

business-object.edit

method

 

The system should have at least the following templates:

  • method
  • business-collection
  • business-object

Update 5.0.0

New: Currently under construction is a new way to process the path (URL). When Application.ProcessPathVersion is set to 2, new shortcuts and template selection for objects and methods are processed via this new method. See Proposed New Shortcuts and Template Selection. Currently only some paths for HTML and JSON output are available with XML and CSV output in future versions.

New: BusinessObject.ToHTML will return HTML form based on the current user access rights to the object and its properties and methods.

New: BusinessObject.MethodToHTML(Method) will return HTML form based on the current user access rights to the object's method and its parameters.

New: BusinessObject.ToJSON will return JSON based on the current user access rights to the object and its properties.

New: Object and method view form design when PageType=ObjectView or PageType=MethodView and Application.ProcessPathVersion set to 2.

New: Application.GenerateMembershipRenewalOrders - When Membership.AutoRenew is set, an order will be generated Membership.Subscription.AutoRenewDue time period before it expires. If the member has stored payment methods then the system will attempt to take payment for the subscription and process the renewal otherwise an invoice is sent to the member.

Update 4.14.15

New: NameValueCollection.Insert inserts an entry to the collection at the index.

Fix: LinkingForeignCollectionDefinitionAttribute.ConvertValue returning invalid collection.

Fix: GenerateHTMLVideo output of YouTube iframe.

Update 4.14.14

Fix: BusinessCollection.FilterOnIDOrFileNames returning error.

Fix: FormatToJSONString added additional character replacements.

Update 4.14.13

Fix: FutureOrder.Confirm returning error.

Update 4.14.12

Fix: BusinessCollectionItem.DefaultRange not returning correct value when custom property is the range property.

Fix: GenerateHTMLVideo updated YouTube URL.

Update 4.14.11

Fix: Cart items doubling.

Fix: FutureOrder.Confirm returning error.

Fix: BusinessCollection.ToString not removing custom prefixes when no items or 1 item.

Update: Updated Administration Menu to remove unwanted items and add tags, tag sets to product catalogue and incomplete orders to order management.

Update 4.14.10

Fix: MIGS Offsite Payment Method returned invalid hash code due to a change in the return URL.

Fix: CartItems.FreightPrice invalid when delivery method set to nothing.

Update 4.14.9

Fix: Application.Reset not returning to previous page.

Fix: GenerateHTMLForm on a new business collection item had invalid action attribute.

Fix: GenerateHTMLForm on a business object or method now will show properties/parameters when allow view or edit.

Fix: Default delivery method was not set to cheapest due to a sorting issue.

Update 4.14.7

New: Set the configuration setting GoogleAPIKey to enable the system to use Google's Geocoding API to get the GEO location of an address or the address at a GEO location.

New: Additional attributes added to the form, labels and inputs generated by GenerateHTMLForm for both business objects and methods to help with scripting and styling.

Fix: Error when running Organisations.SetMissingResidingGeolocations.

Fix: More descriptive error returned from script errors.

Update 4.14.6

New: Additional attributes added to the form, labels and inputs generated by GenerateHTMLForm for both business objects and methods to help with scripting and styling.

Fix: If definition attributes ImageURL.MaximumWidth and ImageURL.MaximumWidth are both not set then they will be defaulted to 1920 and 1200 respectively.

Fix: Definition attributes Decimal.MaximumValue now set to the maximum value of the current data type rounded down to the Decimal.RoundToValue.

Fix: Type defined attributes on definitions now set in inheritance order. For example, HTML.EditorLines used before MultipleLineText.EditorLines.

Fix: Error in LinkingForeignCollection.GenerateHTMLControl.

Fix: Multiple error/info messages will appear in form view when returning from submission.

Update 4.14.5

New: The GenerateHTMLForm method now adds a name attribute to each label for specific styling.

Update 4.14.4

Fix: Permission denied error when outputing an RSS feed.

Update 4.14.3

Fix: Error when booking and attendee details contain an ampersand.

Update 4.14.2

Fix: Error when saving an object or executing a method with a Business Collection Item as a parameter.

Update 4.14.1

Fix: Application.CheckForBouncedEmails memory consumption.

Fix: When email bounced due to 550 Maximum line length exceeded it was considered a hard bounce and marked the recipient's email status as bouncing. Now marked as invalid message.

Update 4.14.0

New: Renamed FileURLDefinition.FileName to FileURLDefinition.SaveAsFileName.

New: Definition.FileName which will be set to the definition name formatted to a file name unless otherwise set. For example, the BlogPosts collection file name by default will be blog-posts but you could to set it to just blog.

New: Application.Item(IDOrFileName) will return a page, group or collection matching the ID or File Name passed in.

New: Collection.Item(IDOrFileName) will return an item matching the ID or File Name passed in.

New: Can now export a foreign collection. It will export the collection converted to a string which unless change in the definition will return the number of items. For example, 4 Order Items.

New: Email.SendNow will now check for prior bounced mail before sending.

Fix: Email.SendNow returned an error of unknown OrderID.

Fix: Broken links in email campaign.

Fix: Domain redirection.

Fix: Discount pricing selection on trading items.

Fix: Can remove stored payment method from future order.

Fix: To default stored payment method for future order.

Fix: Selected Payment Method saved to session.

Fix: Default email settings saved to session when Sending Epage.

Fix: Current Automated Task settings saved to session for Schedule New Automated Task.

Fix: User dashboard links.

Update 4.13.1

New: Renamed User.Status to System Access Status, User.UserType to System Access Level, Membership.Status to Group Access Status and Membership.MemberType to Group Access Level.

Fix: Stopped auto-fill when asked for new password.

Fix: If an object is not accessible to a user none of the methods are either.

Fix: Order.RequiredOn was not automatically being filled when bookings made.

Fix: SendEmail.From is now limited to the email address of the user logged in or the administrators email address.

Fix: Allow logged in member view their memberships with any status.

Fix: Moving an item to another type.

Fix: Error when displaying a users future orders.

Fix: Error when sending order emails.

Update 4.13.0

New: Groups have been classified into Organisations and Non Organisation Groups. Organisations have additional information such as addresses, contact details and bank account details. Some types of organisations may be clubs, chapters, leagues, etc.

New: Membership.Role has been added.

Fix: For guest checkout and processing payments and actioning orders.

Fix: Unable to select certain properties when filtering a collection.

Update 4.12.1

New: Application.Reset now asks if you want to reset your session or the application. If application is chosen and multiple processes are used then then the application pool is restarted.

New: Items.RefreshAttachments will refresh the attachments for every item in the collection. In order to use this function you must Allow Execution for the collection you want to run it on. For example, in configuration settings set Products.RefreshAttachments.AllowExecuteExpression to Application.AdministratorIsLoggedIn

Fix: ServiceTime.Reschedule updates start and finish times in each of the bookings.

Fix: BusinessApplication.GetDefinition not returning methods or paramater definitions.

Update 4.12.0

New: The application can now run on multiple processes. In order to use multiple processes you need to do the following:

  • Start the ASP.Net State Service on the server and make sure you set Startup Type to Automatic in case the server is restarted.
  • Add <sessionState mode="StateServer" /> to the <system.web/> section of web.config.
  • Set Maximum Worker Processes in the application pool settings in IIS Manager or via your hosting control panel.

Fix: Membership emails now filtering by member type and status correctly.

Update 4.11.4

Fix: Error when listing emails due to forwarded receipts load.

Update 4.11.3

Fix: Editing order items slow to load.

Fix: Error displaying the payment order number.

Fix: Error loading foreign collection not previously loaded.

Fix: To avoid loading base tables in full.

Fix: Error retrieving session value from table after table reset.

Update 4.11.2

Fix: Custom pages for order methods where not showing.

Fix: To add booking to cart.

Fix: To order item description for bookings.