UX: Is there a way to import other views as Polymer components?


Is it possible to import other views I have added in TRIRIGA, similar to how we import the components that are provided? If so, what is the default file path to follow? For example:

  • <link rel=”import” href=”../triplat-ds/triplat-ds.html”>
  • <link rel=”import” href=”../custom-view/custom-view.html”>

Yes, it is possible. You got the idea. The path to import a component from a custom view is similar to how we import other components:

  • <link rel=”import” href=”../name-of-the-view/name-of-the-file.html”>

Continue reading

UX: How do you use Bower in the UX Framework?


I am new to the TRIRIGA UX Framework. I am learning Google Polymer through some online tutorials in which they are using Bower to manage packages. But I couldn’t find any tutorial on how we can use Bower in the UX Framework.

Is there any way to use Bower in the UX Framework? Or can we directly code without using Bower? I tried to push the bower.json file using the Sync command, but didn’t know how to use it. What I understood is that we can only push (or use) HTML files in the UX Framework. It will be very helpful if someone can clear these doubts.

Continue reading

UX: Why isn’t data returned when using scroller and two filters?


For some reason, I’m not getting data back when I try to use a scroller with two filters. When I comment out the scroller, data is returned. There aren’t any errors. Is there a problem with my syntax?

<triplat-ds id=”floorDS” name=”floors” filtered-data=”{{floors}}”>

<triplat-query>

<triplat-query-scroll-page scroller=”{{floorScroller}}” size=”50″></triplat-query-scroll-page>
<triplat-query-filter name=”name” operator=”contains” value=”{{searchFloor}}” ignore-if-blank></triplat-query-filter>
<triplat-query-and></triplat-query-and>
<triplat-query-filter name=”building” operator=”equals” value=”{{inspection.building.value}}”></triplat-query-filter>

</triplat-query>

</triplat-ds>

Continue reading

UX: Does TRIRIGA UX Framework have offline capabilities?


I’m starting to look at mobile options for TRIRIGA. I’ve heard of FieldFlex, but I am on a tight budget. One of our requirements is offline capabilities when the field technicians are in non-wifi or cellphone connection. Does TRIRIGA UX have offline capabilities? If not, what are the other options?

Offline capability in web applications is not specifically enabled by UX Framework, but more importantly, it should not be limited by nor dependent on UX Framework. Offline request handling, caching, etc., for web applications is enabled by the Service Worker W3C specification. Google Polymer, which UX Framework utilizes, does have some tools to help enable this. You’ll find a number of pages and videos on how to work with this, such as this Google video: Go Offline.

Unfortunately, browser support for the spec is still not holistic yet, with Chrome being the best option at the momentSo, you should be able to build out an app that handles offline scenarios which works in tandem with our framework, but may be limited in browser support per the above link. We would be happy to hear any feedback you have as you work through this, and any way in which you think we could make the process easier with additional tooling in our framework. This is something on our roadmap to investigate once browser support for the spec is more in line with all the browsers we support as a product.

Continue reading

UX: Is there a way for multiple developers to use WebViewSync?


Is it possible for multiple developers to use WebViewSync at the same time? We have a small team of 2-3 people that would like to work on the same view simultaneously, coordinating among ourselves to ensure that we are working on separate files within the same view.

Unfortunately, when we have multiple developers using WebViewSync for the same view, we seem to run into versioning issues and files are not handled correctly, often trying to push old, unchanged versions of files up to the server. Is there anything we can do to resolve this?

Continue reading