ANSWERED

A prefix for a textField element

Hey, I created a custom text element for the form with a fixed prefix that signals the user how the should approach the field in question. This could be a nifty feature to implement into the textField elements for example. I was asked to share the solution, so here goes. Not sure if this is the best way to do it, but at least it works: <label for="computerName">VDI dekstop name <span class="required-label">*</span> </label> <div class="input-group"> <span class="input-group-addon">VDI-</span> <div class="form-group" ng-class ="{'has-error': customForm.computerName.$invalid && customFrom.computerName.$dirty}"> <input id="computerName" class="form-control" maxlength="11" pattern="^([a-zA-Z0-9-]{1,11})$" type="textField" value="" data-value="" required="" data-name="computerName" name="computerName" ng-init="initElementValue('computerName','')" ng-model="formData['computerName']" > </div> </div> <div class="help-block"> <i>The maxinum length of the name is 11 characters. You can include letters (a-z), numbers or a dash ('-').</i> </div> The prefix can also be transformed into a "suffix" by placing the "<span class="input-group-addon">*your text here*</span>" block after the input tag.
ANSWERED

Item card and nested json array

Item card cannot show nicely nested array details. My colleague had information that he wanted to show to the end user. I suggested to create a more details button to the item and make a form that would show the more details. This solution we ended up. I noticed that this solution could be handy for others also who have nested arrays in their item.attribute.nestedarrayjsondata, maybe Onify support want to put this solution to the forms section how to show static nested json data from item card. block append formConfig -var box = form.items[0] if(mailbox.attribute.nestedarraygroup) -var groupsarray = JSON.parse(box.attribute.nestedarraygroup) else -var groupsarray = 'none' +formOptions({ formDescription: box.attribute.displayname, pageTitle: 'Box details', formTitle: box.name, hideSubmitButton: true, backButtonName: t('back'), }) block formContent if(groupsarray.groupname) table(style='width:100%',border='0') tr th(style='width:40%') <b>Resource group:</b> th <b>Nested groups:</b> tr td #{groupsarray.groupname} td #{groupsarray.groups}
ANSWERED

How do I add a color picker in a form?

I want to add a color picker in a form. How do I do that?
ANSWERED

How can I add custom CSS for a form?

I have a form that I want a custom CSS file for. Is this possible?
ANSWERED

Format string value to currency?

Is it possible to format a string in **itemTemplates** to a currency format? etc `29529.7975` to `29 529,80`? Similar to `{{item.createdate | dateFormat : 'YYYY-MM-DD HH:mm'}}`
ANSWERED

Does Onify support Prometheus?

I want to monitor Onify using Prometheus (open-source systems monitoring and alerting platform). Is this supported?
ANSWERED

How do I truncate logs in Docker?

I want to truncate/remove the Docker logs, how do I do that?
ANSWERED

How do I limit logs in Docker?

The logs in Docker are taking a lot of disk space. How do I limit the logs?

Feature request to support OR filtering

I am trying to get two different type of items visible into the same list, but I noticed that there is no OR filter in search filter criteria. I don't want to show the base query sentence to the end user.
ANSWERED

Howto translate indexed items action?

I have tried to figure out is it possible to get translation to work with indexed items action button. I have that working in almost everyother place now, but I didn't figureout how should I edit the itemTemplates.json I think that should be done in this line, but all my try are failing. "action" : "item.action | prepareAction : item.key"