What format is this template string/formula field in? - string

I am building an integration for a client with the HelloWorks API. This is a service that allows you to create user-fillable PDF forms.
It appears that their product supports formatted/template strings/formula fields as outputs to the PDF files, as when
I create a Date field, it creates an output field with the following data:
#{format(:date, #field_XXXXX, "{0M}/{0D}/{YYYY}")}
However, I cannot find any kind of documentation as to what is the format of this template string/formula field.

In case anyone is still looking for an answer for this, this is what HelloWorks support team has to say.
As for documentation for the format, we do not have any documentation for that at this time and the ability to make those edits are going to be depreciated in the future as our product team wants to bring those capabilities to the portal without custom edits.

Related

Azure devops upload bugs with linked tests (id/ name)

Is it possible to import/ upload bugs along with linked tests (by id/ name) in Azure devops?
The microsoft docs (https://learn.microsoft.com/en-us/azure/devops/boards/queries/import-work-items-from-csv?view=azure-devops) mention about importing work ites with parent - child relationship. I need to import bug and associate it with test case id/ name (direct link relationship). E.g. In csv file I can mention bug title in one column and associated test case id/ name in other. Then I should be able to upload csv file, and test case should be automatically linked to bug after upload.
As I know this feature is not supported yet. We can't import bug and associate it with test case id/ name (direct link relationship) from csv file.
When creating Query, no field in filter can match the direct linked work item. Also, Exporting to csv option doesn't support this, see:
As an alternative way, I suggest you can post a feature request here in our DC forum(user voice forum). If it get enough points, the team would consider it seriously. Hope it helps :)
If you have linked the bugs/tests with work Item , it can be exported as a CSV, you can read about more here.
I have suggested a feature with MSFT
https://developercommunity.visualstudio.com/idea/952141/import-upload-bugs-along-with-linked-tests-by-id-n.html.
Please vote if you find it useful.

Make mass updates via Maximo list view?

Maximo 7.6.1.1:
It would be great if there were a way to make mass updates to a field in a table from within Maximo applications.
For example, in other software such as GIS software, it is possible to open the attribute table of a table, filter the rows, and perform mass updates with a tool called the Field Calculator.
So in Maximo terms, I might:
Open the Assets application --> List view.
Do a filter or advanced query on the assets.
Click an action.
The action would open a dialog that would allow me to select a field name.
I would enter text or a number as a constant. Or use JavaScript to write an expression.
Hit Run.
The filtered rows would be updated.
I'm aware that there is a homegrown method for doing this in Maximo where a user can export to Excel, update the values in Excel, and import the updated Excel sheet back into Maximo. However, that seems unnecessarily clunky to me.
Is there a way to make mass updates to filtered rows from within Maximo applications?
Edit:
An answer can be found here:
Maximo bulk update from List view
Prior to 7.6.1, you would have needed to develop a custom bean class in order to be read the filtered records in the list-view.
In the past, I have developed a generic bean class that called an automation script (referenced in the application's XML), where all of the business logic is implemented (in the script only). Hence, I was able to use this class in many places with different automation scripts.
I have written some articles on LinkedIn about this: https://www.linkedin.com/in/amir-samir-1ba73725/
Now, with the release of 7.6.1, it seems that IBM has added support for the UI in automation scripts, and hence, you don't need the bean class.
More information here:
Access the UI via an automation script (using getWebClientSession)
Note: I believe formulas are of no use in your case.
Perhaps you are referring to this? https://www.ibm.com/support/pages/maximo-application-importexport
I would recommend MxLoader because it is easier to use. Other than what #Dex said to use custom java or Automation Script, I don't see a way to do this from within Maximo.
Asset YTD costs can be updated using BIRT, but I personally using a reporting tool is bad practice. If you want, that's another option (although I warn against it).

xpages display the document history

In some 'old' lotus notes applications, we created a history of each document: who created the doc, every person which edited it + the respective dates. The code contained several libraries in lotusScript.
For xpages, is there any snippet / sample working example which I could use? I found this but I couldn't download any example ...
ValueChangeListeners allow you to capture changes to specific components. I've used them to create audit trails in customer applications before.
Tony McGuckin has an XSnippet for it:
http://openntf.org/XSnippets.nsf/snippet.xsp?id=server-side-value-change-events-listeners
Declan Lynch covered it in a blog post:
http://www.qtzar.com/using-a-valuechangelistener-to-build-an-audit-trail/
Don McNally has also done a blog post:
http://dmcnally.blogspot.co.uk/2013/02/xpages-detecting-and-logging-field.html
I don't know of any pre-done snippet yet. But this becomes a lot easier in XPages especially if expand into Java. When I create an application these days I basically convert the document to a Java object. I don't do this yet but it would be easy to store in the object a Map of all the fields and their current values and then on save, look for differences and then write them out to a log document.
this could be done without java of course. Create an map object in scope. Populate it on loading of the document and on save do the compare and write.
Something went wrong with that project on OpenNTF (don't ever use an ampersand in the name). I'm the original author of that custom control. AFter some digging I found a direct url to the project here.

Can I associate custom metadata with an ALAsset?

I'm building an iPhone app that, among other things, allows the user to take and store photographs associated with locations. I am currently using the ALAssetLibrary to allow the photographs to be stored in Photos and be accessible outside the app (on a computer for instance via the built-in mechanisms). There is not a lot of technical content out there for working with the ALAssetLibrary but from what there is I have managed to cobble together a working version of this. I have had to resort to storing a dictionary of photo URLS in my app and manually detecting if the photo still exists when displaying lists of them because there does not seem to be a way to add custom metadata to an ALAsset.
What I would really like to do is add two custom metadata fields to each asset to provide it with a title and a custom id value that I can use to filter on when enumerating the asset library.
As a secondary task, I'd like the user to be able to update the title metadata.
Can it be done? At this point, I really don't think it can because the API really doesn't seem to provide the necessary methods to get/set custom metadata. I'm hoping against all odds that there is some other aspect to the AssetLibrary framework that I have not yet discovered.
At a minimum, if someone can authoritatively say "NO" then at least others might find this breadcrumb on their own trail of hope and change tack more quickly!
And, having 0 reputation I can't tag it with AssetLibrary :( wow, this day is just going downhill. FML
I've been looking over the documentation and I dont think it is possible to tack on additional fields to the ALAsset object, well you can create your own object or extend theirs but that wont help you when your pulling back assets because you'll need to init yours and populate it then.
Look I know this falls short of a really good answer but I had to try.
The ALAsset class documentation describes a property - customMetadata. This is documented to be an NSDictionary of whatever custom tags you want. Currently, however, it is not implemented in the class (I've raised a bug on Apple's developer site to bring the issue up).

xsl for sharepoint calendar

I need to create a calendar which will join together data from a number of separate sharepoint team calendars (it's so that the press office in my organisation can see what's happening in each department side-by-side on the same page - what they would like is something like the ui for a shared google calendar).
I have discovered that I can create a linked source in Sharepoint which combines the various calendars and will provide xml output of the data I need. So what I would like now is an example of how to consume some xml and create the standard day/week/month views in a read-only calendar to my users.
What I have discovered is the following:
You can't attach a listviewwebpart - they use caml instead of xslt - they can't consume xml data. They use the object model to consume the list that it belongs to.
No source code for that web part. It's locked in a dll.
The dataformwebpart can consume any xml data source.
Some listviewwebparts can be changed to dataformwebparts but not the calendar.
Is there an example of an xslt calendar which can consume some xml and create the standard day/week/month views to get me going?
This is a common request, and not very easy with the standard web parts. You could try Ton Stegeman's Content by Type web part which I think allows you to roll up list items into a calendar, or alternatively take a look at (commercial) list rollup and calendar+ webparts from Bamboo Solutions.
http://www.ideseg.com/SharePointXSLToRenderCalendarsWithCsegRollUp.aspx
From Carlos Segura Blog, excelent way to do the Calendar Join.
It is very common now to expect you can add another calendar as a 'layer' along with an existing one. E.g. that is what we do in Google calendar, in outlook, on android. I believe this is how it is intended, and it ends the quest for sync tools, query questions, data webparts.
The same thing can be done in OOTB Sharepoint; see link below where they seem to have found the right answer. It is very easy to load an additional calendar once you vreated a calendar view.
http://weblogs.asp.net/sharadkumar/archive/2010/03/12/aggregate-sharepoint-event-items-into-your-calendar-view-using-calendar-overlay.aspx

Resources