LogoLogo
HomepageResellerPricingSign in
  • AppMachine
  • ๐Ÿ“ƒProduct Updates
  • ๐Ÿ‘ทBuild your app
    • Preview your app
    • App templates
    • App Settings
    • Update payment method
    • Cancel subscription
  • โ”General App Building FAQ
  • How to
  • ๐ŸงฑBlocks
    • ๐Ÿ” Admin
    • ๐Ÿ“„Blank Page
    • ๐Ÿ“žCall
    • ๐ŸขContact
    • ๐Ÿ“Contact Us
    • ๐ŸงพCoupons
    • ๐Ÿ“ƒCustom Form
    • ๐Ÿ“งEmail
    • ๐Ÿ—“๏ธEvents
    • โ”FAQ
    • ๐ŸŒFacebook
    • ๐Ÿ•‘Hours
    • โ„น๏ธInformation
    • ๐Ÿ“ฃIntro
    • โ˜•JavaScript
    • ๐Ÿ”’Lock
    • ๐ŸŽงMusic
    • ๐Ÿ“ฐNews
    • ๐Ÿ“ƒPDF
    • ๐Ÿ—บ๏ธPOI
    • ๐Ÿ‘ฅPeople
    • ๐Ÿ“ทPhotos
    • ๐ŸฌProducts
    • ๐Ÿ“ฉPush Messages
    • ๐Ÿ“ปRadio
    • โ†ช๏ธSubmenu
    • ๐ŸฆTwitter
    • ๐Ÿ‘จโ€๐Ÿ’ปURLs
    • ๐Ÿ–ฅ๏ธWeb Page
    • ๐Ÿ“บVideo
    • ๐Ÿ“ฑWhatsApp
  • ๐Ÿ“ƒData
    • Appmachine Data
    • Delete (test) data from Custom Form
    • Google Sheets
    • Web services
  • ๐Ÿ–Œ๏ธStyle your app
    • Theme
    • Home Screen
    • FAQ Style
  • ๐ŸŽจStyle your screens
    • Elements
  • Share your app
    • โœˆ๏ธPublishing your app
      • Technical Setup Quick Start Guide
      • Update your app
      • Unpublish an app from the app stores
    • ๐ŸŒWeb App Publishing
      • Hosting on custom domain
    • ๐ŸApple App Store
      • iOS developer account
      • App Store Connect API keys
      • Link your app
      • New app record in App Store Connect
      • App privacy details
      • Edit Store information
      • Fix App publish issues
      • Push certificates
      • App Store Connect app status overview
      • App Store Review Guidelines
      • Publish app Unlisted
      • Accept updated License agreement
      • Apple App Store FAQ
      • iPad
      • Enterprise
        • Setup your Enterprise app
        • Create iOS Distribution Certificate
        • Create App ID
        • Create Mobile Provisioning Profile
        • Downloading and installing an Enterprise app
    • ๐ŸGoogle Play
      • Create a Google Developer Account
      • Setup your Android app
      • How to request a Google Maps API Key
      • Test your Android app before publishing to Google Play
      • Upload your Android app to Google Play Store for the first time
      • Update Android app (short)
      • Update an Android app (extended)
      • Data safety details on the Google Play Store
      • Sell your app in Google Play Store
      • Create Google merchant account
      • Force Store Update for your Android App
      • Authorise an additional user to your Google Play developer account
      • What if my app is suspended by Google?
  • App details
    • ๐Ÿ•ต๏ธGoogle Analytics
      • Google Analytics setup overview
      • Setup iOS analytics
      • Setup Android analytics
      • Inviting a new Google Analytics user
    • ๐Ÿ”ฅFirebase
      • Create Firebase project
      • Locate Firebase Server key
      • Renew Firebase Server Key
      • Register iOS app
      • Register Android app
      • Enable Cloud Messaging
      • Enable Google Analytics
      • Google Analytics via Firebase
    • ๐Ÿ“จPush notifications
      • Setup Apple Push certificate
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘User management
      • Create Apple Sign In key
      • Setup Azure Active Directory
      • Create Facebook App ID Secret
    • ๐ŸฆTwitter API keys
    • ๐Ÿ”Privacy policy
    • ๐Ÿ‘ฉโ€๐Ÿ”งYour Account
      • Account Settings
      • Account FAQ
      • Payment FAQ
    • ๐Ÿ“ฑAdmin CMS
  • Developers
    • ๐Ÿ‘ฉโ€๐Ÿ’ปJavaScript
      • Develop locally
      • SDK
        • Core
        • JS Data
        • Media
        • Navigation
        • Notification
        • User
      • CLI
        • CLI Token and Secret
        • Errors
          • CONFIG_PROPERTIES_INVALID
          • CONFIG_VALUES_INVALID
          • ENTRY_FILE_NOT_FOUND
          • OUTPUT_DIRECTORY_IS_EMPTY
          • OUTPUT_DIRECTORY_NOT_FOUND
          • TOKEN_SECRET_NOT_PROVIDED
          • TOKEN_SECRET_NOT_VALID
      • Migrate from old Custom JS
    • ๐Ÿ’ปWeb services
Powered by GitBook
On this page
  • Adding the PDF building block
  • Adding a PDF
  • Configuring the PDF building block
  • FAQ

Was this helpful?

  1. Blocks

PDF

Show one or more PDF documents in your app

PreviousNewsNextPOI

Last updated 2 years ago

Was this helpful?

This building block is a way of giving users more information using PDF documents.

Please note: PDF support on Android is available by default on devices with the Lollipop operating system. Android devices with older operating systems require some kind of PDF reader app to open these PDFs.

Max file size for each PDF is 15MB.

Adding the PDF building block

  1. Click on the + Block button.

  2. Select the PDF block and click Add this Block.

  3. Fill in the desired name of the block.

  4. Click on the icon if you want to change the icon image used in the menu.

  5. When youโ€™re done, click Add this Block.

Adding a PDF

  1. Select the PDF block in your app.

  2. Go to the Data tab.

  3. Click on the Create New button.

  4. Fill in the name you would like to give the document in the pop up

  5. Add an image you'd like to display next to the PDF document.

  6. Upload the PDF file in the Upload file section.

  7. Click Save

Editing an entry

Hover the cursor over an existing entry to edit, rearrange or delete it.

  • Edit: select the pen icon to change the item's name or replace the PDF file. When you're done click on Save to save.

  • Rearrange: grab the handle on the right side of your entry to rearrange the order it will be displayed in the app.

  • Delete: click on the garbage can to delete the entry from your block.

Configuring the PDF building block

The PDF building block editor is composed of three editing screens: Data, Settings, and Design.

Data allows you maintain the content of the block, Settings allows you to choose whether a search bar is shown in this block, and the settings in the Design screen determine its aesthetics.

Settings

There are several aspects of your PDF block that can be changed in this screen:

  • The name of the block

  • The icon (or image) that will be used in the app menu

  • Gives you the option of enabling the search bar

Should the need arise to keep the users of your published app from using this portion of the app, then you can always make use of the ON/OFF selector.

Slide the selector to OFF to keep users from seeing the PDF block. Now you can continue developing your app without worrying about users coming upon areas that you haven't finished developing as of yet. Once you are satisfied with your progress, change the selector back to ON to publish this portion of your app.

Data

This is where you add the documents to your app.

Design

The Design screen allows your to make highly detailed changes to your building block. Design gives the developer a remarkable amount of freedom to adjust everything exactly as he or she would like it. The options in this particular block are slightly more limited than in other blocks as the screen will be dominated by the PDF document.

FAQ

Why can't I upload my PDF file to my app in AppMachine?

Please remember that the max file size for each PDF is 15MB. Please check whether the PDF is too large to be uploaded or whether the PDF file might be corrupt. PDF files that are too large can usually be optimized in order to be saved as a smaller file size.

๐Ÿงฑ
๐Ÿ“ƒ