Say I wanted to write a program that would export calendar data so that it could be imported into another calendar application. What would be some popular formats for that, and where could I find information on the formats of those files?
Popular usage:
Google summer of code have three different format options:
Important Dates
You can also check out our Google Calendar in several formats:
XML
ICAL
HTML
where html is not really an export format as such. I would start with looking into the ical and the xml format they use.
.ics is a simple plain text (easily parsed / generated) calendar format supported by several applications.
Related
I'm in the beginning stages of designing a timeline software. One of the main features of this software is intended to be that the users are not restricted to just the Gregorian Calendar. In fact, they should be able to define their own calendar within the program.
As such: Is there any existing standard or file format or the like to define a calendar system? I'm purposefully not specifying any specific features the format should have: For now I just want to find out if any such format exists at all.
Thank you very much!
I'm new to Salesforce's Lightning Web Components, and I'm trying to figure out what the best way to support localizing labels, messages, and other strings in LWC.
I've learnt about the i18n programmability to localize Date/Time format, Currency format, etc. according to user's locale. However, I couldn't see any out-of-the-box supported way to localize strings.
Let's say my LWC requires a message to be displayed to user on certain scenario; so my html template will have to render that message. I would like for my html to be able to render that message in US English for user with en-US locale and in Japanese for ja-jp locale. What's the salesforce recommended way to develop that functionality?
Potentially I could add locale files (say, a json file each, with all messages for a specific locale) to static resources, and then add a getter each for every message in my LightningElement js that calls a generic method to take a string id and locale and returns the message from my locale file. It sounds like some work, and I just want to ensure there's no built-in, better way of doing it easily. I searched for previous threads on this topic, couldn't find much.
Thanks for the help or any pointers.
I guess what you're looking for is Custom Label. That's the way to handle multiple language in Salesforce.
Im using the IBM Watson analytics trial, it says it only takes data as CSV, Excel and a few others. How can i convert books or bodies of text into an acceptable format? thank you
It seems like the architecture of WCA(Watson Context Analytics) does not support PDF itself. Please refer the following images from IBM Link
I think it would be better to convert pdf to text with converter such as CONVERTER and pushing it into database or others.
Then, you can crawing the text data from it.
FYI, the document has to have a KEY column (i.e. name of the book).
Even if you do convert your book into an acceptable text format (.csv. .xls, .xlsx. .sav), Watson Analytics isn't optimized for text analytics. It sounds like Watson Explorer is the offering that'd best suit your needs.
Hope this helps.
Even though CSV or XLS is the acceptable format of the file, Datasets needs to be in the specific structure. You need headers for all the tables and data following it. I am not sure how a data of the book can fit into that format.
I have recently published this blog post on how to structure and refine data before importing into Watson Analytics to get the best results.
For your specific requirement, you can look into Watson Explorer as suggested by Brennan above, or even better you can learn to use IBM Content Analytics here.
Which version of angularjs datepicker support European date formatting (DD/MM/YYYY)?
Well angular in itself does not have any special support for date formats. Its the javascript in which you can change date formats. You can refer to Javascript change date into format of (dd/mm/yyyy) on tips or just google around.
Be aware that locale of system and browser used by user can affect output. Ensure that you test your solution on multiple browsers.
By including one of these locale-files, you may set the default date to your prefered (instead of having to format the dates every time you use it):
https://github.com/angular/angular.js/tree/master/src/ngLocale
Is there a way to send a mail with different PDF file to different contacts using file maker?
I am aware of sending batch emails with one attachment but I would like to send a personalize PDF for each contact which seems not so simple.
Also
Can I add PDF files to the table itself or would I have to use the path to the file?
Example:
Table 1
**Name** [James Brown] [James Blue]
**Email** [brown.j#gmail.com] [blue.j#gmail.com]
**PDFfileAttchamnet** [folder/PDF/JamesBrown.pdf] [folder/PDF/JamesBlue.pdf]
So an Email for James Brown would look like:
Dear James Brown, please see the attached file.
Attachment [JamesBrown.pdf] {actual file}
and
Dear James Blue, please see the attached file.
Attachment [JamesBlue.pdf] {actual file}
I think you can solve it by creating container field in you database and import the pdfs in it.
then you can use export Field Contents[] to export it and send it by email
Hope it useful
I would like to send a personalize PDF for each contact which seems
not so simple.
Find the records of contacts you want to include and loop among them, sending mail to each one individually (i.e. without selecting the 'Collect addresses across found set' option).
Can I add PDF files to the table itself or would I have to use the
path to the file?
You can do either, it's up to you. If the path to the file can be calculated (as in your example), you can calculate it right there in the Send Mail script step.
Note that you can also generate the PDF files during the process itself.
Do I understand correctly that you would actually like to personalize the PDF document(s)?
This is possible, maybe not very simple, but quite simple. The trick is to prepare the PDF as a form, and then fill the form fields to personalize.
PDF has a native forms data format (called FDF), which is described in ISO 32000 (as well as the older PDF specification documents provided by Adobe, as you can find in the Acrobat SDK, downloadable from the Adobe website).
FDF is a simple structured text file, which can easily be assembled using FileMaker (I have done that routinely for several catalog projects). The easiest way to get going is to open the form in Acrobat, fill in the fields, and then export the data as FDF. This gives you the pattern to "fill in the blanks".
So, you create the FDF files using Filemaker. With them you can fill the blank form and feed the saved document to the eMail system.
Which tool to use to fill the blank form depends on the volume you have to process. Acrobat is not very powerful (and you may end up in a bit of a legal gray zone, because Acrobat is not set up for being used as a service). There are applications which are made specifically for filling out forms on a server (such as FDFMerge by Appligent), or there are also several libraries which have the tools to fill out forms (iText or pdflib come to my mind). These applications also allow you to flatten the PDF, which means that there are no longer form fields, but their contents becomes part of the base.
The resulting file can now be either made to an eMail attachment, or you make it available on a server and send an eMail with the link to the file (which method you will use may depend on security and privacy regulations).