Jump to content

Recommended Posts

Hello Everyone,

I got this file which need to be imported into FileMaker, but getting error while importing as the format is in XML. 

It pops up XML/XSL import specific dialog and when I choose to continue, it shows an warning saying that "XML/XSL information is not enough to proceed with import/export."

Please help me to import this file or any other way to import this data into fields in FileMaker.

Thank you for your reply.

File.XLS

Link to post
Share on other sites

Filemaker will import only XML documents that conform to its own FMPXMLRESULT grammar. Other documents must be transformed to the FMPXMLRESULT grammar using an XSLT stylesheet that can be applied during the import.

I have written a generic stylesheet for importing Microsoft Office Excel 2002/2003 XML documents into Filemaker. You can use this as your starting point. Eventually, you will be better off writing a custom stylesheet that fits your data - e.g. by converting dates to the format used by the target file.

 

importXL2003.xsl

Link to post
Share on other sites

Thank you for your reply.

As I am new to FileMaker I did not understand how to create custom stylesheet XSL.

Please suggest me how to create that and where to create that.

Additional Question-

Is there any option to change the file format to a basic Excel file using FileMaker.

Link to post
Share on other sites

XSLT is a programming language for transforming XML documents. It has nothing to do with Filemaker, except for one thing: Filemaker includes an XSLT processor that you can utilize when importing or exporting XML, either to transform the imported XML into Filemaker's grammar, or to transform the exported XML data into some other format.

To create/modify an XSLT stylesheet, you need to learn at least the basics of the XSLT language. Fortunately, for most of the tasks that you will come across when importing to or exporting from a database, the basics are all that you will need. That and a text editor: XSLT documents are plain-text files.

 

3 hours ago, Vishnu Yanala said:

Is there any option to change the file format to a basic Excel file using FileMaker.

No. As I already told you in another thread, Filemaker is not a file conversion utility. The most you can do is import the data, and then export it as an Excel (.xlsx) file. 

Link to post
Share on other sites

Learning XSLT is one way to solve the issue, if you have pre-existing skills in say JavaScript or any other programming or scripting language then you could choose to create some code outside of FM to parse the XML and talk to FileMaker through one of its many other APIs: the Data API, the XML API, ODBC, JDBC,...

Link to post
Share on other sites

Well, the best alternative to XSLT would be Excel or any other spreadsheet application that can read the Excel 2002/2003 XML input and save it as Excel Workbook (.xlsx) which can then be imported directly by Filemaker. 

The same applies to a source file in Excel 97-2003 Workbook format (.xls) which I suspect is the original format here, based on OP's previous thread:
https://fmforums.com/topic/106285-problem-with-excel-file-formats/?tab=comments#comment-480175

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Similar Content

    • By tomp
      I'm having a problem getting BE_SMTPsend to successfully send an email with an attachment.
      No problem sending without an attachment, but when I add an attachment, I get an error 2 (not sure exactly what that means, but without the attachment, no error)
      These are the argument strings with and without attachments:

      I have tried both relative and direct file paths for the variable $attachment. Examples are:


      Both of them return an error code of 2.
      Since the 'send' without an attachment works, all the values of the fields/variables other than $attachment must be valid.
      Can anyone offer a suggestion as to what might be going on and what I might try to resolve this?
       
    • By Msaeed
      Hi All,
      As per mentioned on topic, in fact i would like to create icon ex. hour in case rigging guard the insert time.

    • By Solvax
      Hi,
      I'm trying to make a subsummary report with data from the current table and a related table.
      I never get to display the correct totals for the related table, and would therefore appreciate your help.
      First I'll try to explain the workflow:
      I have two tables called 'Voorraad_uit' (= outgoing stock) and 'Voorraad_in' (= incoming stock) which are related by delivery number.
      Data is first entered in 'Voorraad_in' (= incoming stock) and then related records are created in 'Voorraad_uit' when an incoming stock item is partly or completely shipped.  This second table contains mainly the outgoing amount and a unique outgoing delivery ID.

      As a consequence, one record in table 'Voorraad_in' (= incoming stock) can have one ore more related records in 'Voorraad_uit' (=outgoing stock).
      I want to make a subsummary report showing the total amount of incoming and outgoing units per product(name) by using the following layout structure:

      I tried two scenarios which each give me a part of the desired result.
      when I base the layout on 'Voorraad_in' (=incoming stock): I get the right totals for incoming deliveries I get all the incoming deliveries listed (also those without outgoing delivery) Body part 3 (see above) only shows one row also when there are more than one related outgoing transactions I get the wrong totals for outgoing deliveries (only based on one record) when I base the layout on 'Voorraad_uit' (=outgoing stock): I get the wrong totals for incoming deliveries I don't get all the incoming deliveries listed (only those with outgoing delivery) Body part 3 (see above) shows all the related outgoing transactions I get the right totals for outgoing deliveries Main goal is having the right totals for both incoming and outgoing deliveries..
      My layout is sorted ascending by (in mentioned order) productname, incoming delivery number and outgoing delivery number.
      The totals are calculated by using summary fields.
      I hope I'm on the right track and that the desired result is possible.. your help is much appreciated!
      Thanks in advance for your help.
      Regards,
      Solvax
    • By Steve Pfister
      Security Challenge when signing on to Paypal through Filemaker pro 18 web viewer.    I see the text "Security Challenge" but nothing else shows up... all is invisible, making it impossible to solve the security challenge and sign in....  Mac Pro..OS High Sierra 10.13  ....running Filemaker 18 .     I am having Java script issues I am assuming.   Has anyone else had this similar issue and solved it?
      Thank you in advance
      Steve
    • By Pio Soto
      Hi, I was wondering if it's possible to add some design to my email, 
      I have attached a sample of what I'm looking for but the idea I got is from my quickbooks email invoice.
      Thanks.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.