Editor for FormatJS messages - formatjs

We are using FormatJS and React Intl for a web application of ours, to translate the UI. What we are currently missing is an editor for the messages files.
Does anybody know of a any decent editor for message files? Editing the bare JSON resources is not really an ideal option when dealing with large files.
Thanks,
Gerald

Related

Netscaler cannot access xpages mobile extention library 1.6.1 files

Hi I have an xpages app that I have built using the mobile extension library controls. The ap works fine if you go straight to the notes server but as soon as we use netscaler to access we are getting errors accessing the extention libarary files. We have tracked it down to not being able to access these “/xsp/.ibmxspres/dojoroot-1.6.1/dojo/dojo.js or whatever is in or around there.
For this post http://www.intec.co.uk/domino-8-5-3-greater-power-over-dojo-thanks-ibm-for-your-work/ it looks like these files use the new OSGi plugin functionality and are contained in a jar file on the server rather than as separate files on the domino server. Any idea how we can get the citrix gateway to see these files and use them?
Thanks
Mel
Seems like a Netscaler configuration problem to me. If the manuals don't help, ServerFault might be the better place to ask this question. As a wild guess: /. might be blocked by default since ../../../ is a popular path-traversal attack vector. Let us know how it goes

Need a better Live Log Viewer for NLog, Log4Net and Enterprise Library

I need a better Live Log Viewer that supports NLog, Log4net and Enterprise Library. The Viewer must constantly be running in live mode for our operation guys. So far the ones that we've tried always run out of memory and we always need to restart them. I need a Viewer that can either remove unwanted stale messages or roll them over to a log file automatically. I know this is a tall order. So far no luck. We will even pay for it.
I use the ReflectInsight Viewer. http://www.reflectsoftware.com/
We use Enterprise Library and Log4net logging at work which produce text log files. Previously I would use a number of tail logging programs to show me new messages that came into the files, but didn't provide much filtering, searching capabilities.
By adding a reference to the ReflectInsight Logging Extensions https://insightextensions.codeplex.com and updating my existing logging configuration, I was able to send my logged messages to the ReflectInsight viewer and view them in real-time. I was then able to search, filter, bookmark, and view my messages.
I could then save the results to another file...containing only what I needed and filtering out the noise from other applications.
I hope this helps you as it did me.
Have you tried LogGrok for viewing NLOG logs?
It supports filter the log by any field for MSI, VB and NLOG, configurable highlighteres(some are already pre-configured), multiple search results (supporting Regex).
Utility supports large log files and has customizable docking windows UI.
LogGrok is opensource, you can add features you need by yourself(or ask project team to add it for you).
Project documentation can be found in this repository
I use LogExpert http://logexpert.codeplex.com/ it is free, and it has some very powerful features. I have only ran into one or two minor bugs. Features include, Filtering, Search, Color coded phrases, regular expressions, filter to tab (creating new log files from distilled results).
All in all really well done, and the developer needs help to keep it going!

How to Analyse Failed Request Tracing log for IIS7

there is a error in my IIS7 on one website so i activate the Failed Request Tracing log and get some XML files, how to analyze this XML stuff? Any tools outside?
I found FRT Logs Article but is there any comfortable LogSuite available to analyze all FRT Logs in a directory?
I know this is old but in case anyone comes across this like I did, IE loads it up with all the pretty formatting, tabs, and collapsible sections as shown in https://www.pluralsight.com/blog/it-ops/iis-7-troubleshooting
Which doesn't exactly answer, as it I wouldn't call it a tool but it appears to be the intended way to view it, while not readily apparent [at least in my opinion given that many of the logs output by Microsoft nowadays have viewers to parse the data]

WiX Standard Dialogues

Does anyone know if there are any WiX standard UI dialouges out there that you can use to integrate into your own WiX msi package?
For example:
Editing Connection Strings to database
Editing paths to log files in web.config/app.config
Setting up users for a Windows Service
Setting up WCF Endpoint addresses and other parameters
This would be very helpful!
I've haven't seen any UI dialog package either.
WixEdit has a dialog editor which I've heard is pretty useful, but I haven't used.
War Setup is a pretty good utility. It's been about a year since I've used it, so I don't remember if it has a dialog editor or not.
Edit: I couldn't think of the one I really loved, but I just found it: WixAware. It has probably the best dialog editor. The only thing is that it's trialware and the full version is $800.
Not today no. They aren't that hard to write though.

How do you include a JavaScript file from within a SharePoint WebPart?

We have a medium sized .js file that we include in our web framework that I am porting over to SharePoint. However, I'm not sure how to go about this or what the best practice is. This is for a framework solution that will be used by other client projects, so it's best for it to be self contained and deploy-able, rather than requiring manually deploying files to the webserver.
My current thinking to put the JavaScript into an embedded resource and then use the script manager to write out the file. Does this seem reasonable? Or does anyone have any other recommendations?
Embeded resource is the best way and you don't need to use the ScriptManager to render it out (as AJAX is not configured OoB on SharePoint), you can just render it as any other client script resource (through the ClientScriptManager).
Best idea is the have an if ContainsScriptManager else UsClientScriptManager style.
That way you get the best of both worlds
You could just toss it into a doc library.
If you are packaging your web part into a sharepoint solution, you could include it as a Module (VSEWSS item). Your manifest file would get something like:
<TemplateFiles>
<TemplateFile Location="LAYOUTS\somescript.js" />
</TemplateFiles>
Theres lots of info on how to do this on the web. I've liked the doc library option for images, css, and javascript because I don't have to rebuild and wait for for SP to JIT compile for 30 seconds each time I do a minor tweak to some style or script. I just edit these things in SPDesigner right out of the doc library.
Create resource mapped folder in your project and put the js file there and give the referene of the js file as _layout/jsfilename.js and this js file will be deployed with your project where ever you will deploy it.

Resources