Find

Question
· Apr 25, 2017

uu-encoded?

We have a vendor that can only send us a uu-encoded PDF. Is there a way to decrypt it in Ensemble?

Thanks

Scott Roth

The Ohio State University Wexner Medical Center

3 Comments
Discussion (3)2
Log in or sign up to continue
Question
· Apr 24, 2017

How to change the user of the $ZF user

Hi I've created a word macro in order to convert doc to txt via the command line, this works fine via the command line by myself or another user but when I try as an the intersystems user which runs under  LocalSystem it doesn't work. 

So can I change the user, or set the $ZF to run as a different user?

Or do I have to try another way to convert doc to txt - it's looking like libreOffice?

I just wanted to stick with word because I could be guaranteed on the result being accurate.

Thanks

Regards

Richard

11 Comments
Discussion (11)2
Log in or sign up to continue
Question
· Apr 22, 2017

CacheLicense

when the "/apps/docmatic/%CSP.SysConnection.cls" gets hit.
If some page hit the above (%CSP.SysConnection) it consume license or not?

1 Comment
Discussion (1)1
Log in or sign up to continue
Question
· Apr 21, 2017

Cache 5.02 License Error

Hi All,

    We are using the InterSystems cache 5.02
    We having 80 license unit but don't the reason 50 unit have been consumed (CSP unit)
    This happen because of this page ran frequently "/apps/docmatic/%CSP.SysConnection.cls"
    Can anyone explain why this page ran frequently and consume license?
    
Thanks,
Sansa.    
    

1 Comment
Discussion (1)0
Log in or sign up to continue
Article
· Apr 21, 2017 2m read

Let's write an Angular 1.x app with a Caché REST backend - Part 5

At the end of our last lesson, we ended with our page displaying a nice (but garish) Angular Material Toolbar, and our Widget data displaying in a list of Material cards.  Our page feels a bit static, and we already know that the large number of Widgets that we will be dealing with will not be especially usable on a static list.  What can we do to help?


A filtering function would be very helpful, so let's add a text input to the top of the page. We will bind this to a variable in the $scope - widgetFilterText so that Angular has access to the value we type in. We will also wrap the whole page content in a div and set layout="column" to have the new text input and the existing cards arrange vertically on the screen

 

We now have a text box, but typing in it does nothing.  How can we hook it up to our list of widgets.  Ng-repeat provides numerous filters to rearrange the data dynamically (all done on client side, so no need to request sorted data again from server).  We will feed  the variable being set by the text box into a filter, and this will restrict the data for us

If we type in the Filter input now, we instantly get a filtered list.  The filtering is applied to all fields of the list objects, so we can restrict on ID or Name.

 

We now have filtering, but being able to reorder the data may be useful too.  We can use the orderBy filter to do this, and luckily for us, these filters stack so we can use the reordering in conjuction with our new text filter. We first add a variable to hold the sorting state, then add a button to the page which will toggle the boolean state of the variable (we will grab the button code from the Material demo page).  Finally, we will add a switch onto the OrderBy filter to apply the sort order we want (field is ascending order on that field, -field is descending).  Let's put it all together and see what we get

 

 

SUCCESS!  We can now both Filter and Sort (or both) our data instantly!

Recap

In this lesson we:

  1. Add Material text inputs and buttons to our page
  2. Learned about ng-repeat filters
  3. Implemented a freetext filter on our data
  4. Implemented a Reorder function on our data

In our next lesson we will:

  • Hook our service up to a persistent class and start serving real data

 

This article is part of a multi-part series on using Angular on top of Caché REST services.  The listing of the full series can be found at the Start Here page

Discussion (0)0
Log in or sign up to continue