4D Blog

Home Product Convert a 4D View document to 4D View Pro

Convert a 4D View document to 4D View Pro

January 24, 2018

Product

We know how important your customer’s existing 4D View documents are, and being able to move them to 4D View Pro has been a priority for us. This is now possible with 4D v16 R6 (as a preview). Converting your 4D View documents to 4D View Pro is just a single line of code, thanks to the new command, VP Convert from 4D View.

How do I convert a document?

The code below shows you how to convert a 4D View document stored on disk:

// Load your 4D View document in a blob
DOCUMENT TO BLOB("document.4PV";$b)
// Convert the document to a 4D View Pro object
$VP:=VP Convert from 4D view ($b)

The output is an object in 4D View Pro format that can be used in a 4D View Pro area with an additional line of code:

VP IMPORT FROM OBJECT ("ViewProArea";$VP)

Even better with a video

They say a picture is worth a thousand words, but in this case an example says even more. This video shows that the converted document looks just like the original one, and the document structure and formulas are still there after the conversion. Check it out and get inspired!

Continuous improvement

The 4D View document conversion feature is provided as a preview and is being continuously improved. For now, the VP Convert from 4D View command handles the conversion of most of the properties and information stored in 4D View documents, including: formats, styles, borders, values, formulas, selections, etc. References to the database, methods and other 4D variables will be handled in upcoming R-releases.

For more details about which properties are currently converted, we invite you to take a look at the conversion of formulas and conversion details articles in the documentation.

Discuss

Tags 4D View Pro, Document creation, Spreadsheet, v16 R6, v17

Latest related posts

  • October 23, 2025

    Starting Qodly studio is just two clicks away

  • October 22, 2025

    Localize your Qodly Pages: A Practical Guide

  • October 21, 2025

    New Way to Control Your HTTP Responses

Fabrice Mainguené
Fabrice Mainguené
• Product Owner •Fabrice Mainguené joined 4D Program team in November, 2016. As a Product Owner, he is in charge of writing the user stories then translating it to functional specifications. His role is also to make sure that the feature implementation delivered is meeting the customer need.After obtaining a Bachelor degree in Computer Science at CNAM, Fabrice joined a small software publishing company as a Windev developer. Then he worked for different companies in industry and trade areas as a Windev and web developer as well as technical advisor on new features.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy