by Andrew Leggett / Sr. Application Consultant
WebClient developers know how useful the log file is for debugging and for tracking errors, but did you know that you can send your own messages to the log file from your CA Plex action diagram?
This technique can be used to provide an insight on what happens ‘behind the scenes’ without affecting the end user. Note that this is only for Java client or server functions.
To log a message to the log file:
- Create a new JAVA source code object, e.g. “Send WebClient Log Message”, and provide a parameter field:
- Add the following source:import com.adcaustin.webplex.WebPlexLog;
- Create an API Call to your new source code object, and pass in your message text.
by Lily Taharudin / Application Consultant
It is usually not a good idea to use a desktop application design and apply it directly to a mobile application. Some web developers tend to fit in a lot of things on a page in a mobile application. However, this is usually not a good design from the user perspective. Web developers need to keep in mind they need to design in a way that makes it easy for a user to interact with the page and navigate to other pages.
- The design for phone and tablet should be different.
The web developer needs to keep in mind whether the application will be accessed via phone or tablet device. When designing for a tablet application, the user has a bigger visual area so the application can have a side menu which always appears on the right or left-hand side.
To get a great view of a lot of complex information, tablet designs fully exploit the larger space. On a phone, it would be tough to view the following:
These kinds of design may not be a good idea for phone devices. The side menu may need to be hidden when the user has chosen an item from the menu. You want something clean and clear that will function even on the smallest screen dimensions.
Here, the menus are on the bottom, easily visible. And when you click for details, all is laid out in a visible manner.