Recently we have written several posts on datanames. One of the most powerful tools within Webanizr. And this tool has now become even more powerful. From version 462 it is possible to make choices within datanames. This allows you to dynamically choose between two texts on a page. Or you can give a default value to an API if no source value is known. Or one of the thousand other possibilities that you suddenly have when you can choose dynamically from values.
If you work intensively with datanames and / or APIs, this is definitely a new option that is worth exploring. More about choices in datanames on the page about conditions within datanames.
A handy addition to the choices within datanames is the dataname option. This allows you to dynamically extract the value from another field. More about this option on the page on formatting datanames.
Datanames are mainly used in combination with form fields. A powerful function, but there is more behind these datanames. There are datanames that you can use anytime and anywhere. For example, to track your campaigns, synchronize accounts, or get information about language, domain, time and currency.
View the complete overview of datanames on our website.
In addition to text, numbers and lists, you can now format images using datanames. This is done in the same way as other formatting options work, namely by passing the image through one or more formatting options. The formatting options that are available for formatting images are currently limited to the scaling and cropping of the images.
All options and examples of how they work can be found on the page about formatting images with datanames.
Data is rarely in isolated. There are certain relationships between all data. Very often you are not looking for the data itself, but for related data. By means of datanames you can easily request that data.
By means of web values you can easily walk through your data. This way you can:
Going through data using datanames is very simple. More information on writing such datanames is on page about searching and traversing data on our website about datanames.
Collecting data using forms is easy in Webanizr. Using data would be the next step. Datanames allow you to use the data in emails, APIs or on the website. Often, however, you want to format or convert the data before using the data. Fortunately, datanames offer many options to change the format of the data. On the page about formatting and converting datanames you will find an overview of the formating and converion options.
Datanames are an important part of Webanizr. They enable you to display data on your website, to use it in APIs and in communication with your visitors. You can assign datanames yourself to the fields in your forms. But what name do you give each field? To help you write datanames corectly, we wrote a page about writing a dataname.
To exchange, display and validate your data, Webanizr mostly depends on datanames. In most cases simple datanames that are linked to form fields. But as your websites becomes more complex, so do the datanames. This means the cahnce you make a typing error or thinking error increases. To help you with your datanames, we've added an applet to test your datanames. More on this applet in our manual on using the dataname test applet.
When using datanames you can create a path to the desired value. Example:
category@news > image@visual