Apphive Docs
Apphive Documentación ( English)
Apphive Documentación ( English)
  • 👋Welcome to Apphive
  • First steps
    • 🔍Apphive
      • Start with a template
      • Start from the beginning
    • 📐Apphive editor
      • Work with containers
      • Responsive design
      • Lateral Menu
    • 📱Apphive Previewer
      • IOS App Preview
      • Android App Preview
    • 🤖Apphive AI
  • Elements
    • 🎮Controls
      • Container
      • Swiper
      • Field
      • Text
      • Button
      • Switch
      • Picker
      • Radio
      • Slider
      • Image
      • Camenra View
      • Map
      • Web View
      • Calendar
      • Icon
      • Video View
      • Graphic View
    • ⚙️Functions
      • 🕹️Controls
        • Generate swiper content
        • Iterate children
        • Modify Control
        • Toogle side menu
        • Add collection to UI
        • Toogle bottom menu sheet
        • Toogle page loading
        • Trigger Event
        • Set palette colors
        • Bubble
        • Show image viewer
      • 👨‍👩‍👧Users
        • Change my password
        • Forget Password
        • Get All Users
        • Get App Users
        • Get User Other App
        • Get Data From Other User
        • Is Logged In?
        • Login
        • Login With Facebook
        • Login With Google
        • Login with apple
        • Logout
        • Set other user custom data
        • Set user custom data
        • Sign Up
        • Update AuthInfo
        • Update data from other user
        • Is Current User Email Verified?
        • Send Email Verification
      • 📀Cloud database
        • Delete database data
        • Get Database Data
        • Save data in DB
        • Upload file
      • 💿Local database
        • Delete all local Data
        • Delete local storage data
        • Get local storage data
        • Set app value
        • Set data DB direct
        • Save local storage data
        • Set page Value
      • ⛓️Logic
        • Arithmetic Operation
        • Array from object
        • Based on current OS
        • Chronometer
        • Concat
        • Conditional
        • debounce
        • forEach
        • Global Formater
        • Value is invalid
        • Object keys
        • Generate Random Numer
        • Range Iteration
        • Regex Test
        • Search in Object
        • Set interval
        • Set timeout
        • Stop set interval
        • Switch
        • Generate uuid v1
      • 🔔Notifications
        • Confirmation alert
        • Input dialog
        • Send Alert
        • Toast notification
      • 📲Phone APIs
        • dismissKeyboard
        • Open phone settings
        • Get connection type
        • GetDeviceInfo
        • Print remote PDF
        • Get Screen Dimentions
        • Is audio playing
        • Make a call
        • Open calendar
        • Ope geo map
        • Open Url
        • Open WhatsApp
        • Pause playing audio
        • Barcode Read
        • read QR code
        • Read SMS (Android)
        • Set Audio Time
        • Share
        • Show file browser
        • Start playing audio
        • Start Recording audio
        • Stop playing audio
        • Stop Recording Audio
        • Take a photo
        • Take a video
        • Vibration phone
        • Resize Image
        • UxCam Record
        • Avoid Suspension
        • Copy clipboard
        • Download file
        • Launch App Review
        • Launch App Update
        • Biometric auth
      • 🗺️Geolocalization
        • Get All fire geolocation
        • Get fire geolocation
        • GeoFire listen item
        • Query fire geolocation
        • Query all fire geolocation
        • Remove fire geolocation
        • Set fire geolocation
        • geoFireSetMultiple
        • Geocoding
        • Get distance
        • Get geolocation
        • Start geolocation tracking
        • Stop geolocation tracking
        • Start geolocation tracking http
        • Coordinate Inside Poligon
      • 💬Push Notifications
        • Request Permission
        • Push Notifications Cancel All
        • Send push
        • Open Remote
        • permissionRequestRemote
      • 🪙AdMob
        • Interstitial Ads
      • 📈Google Analytics
        • Log Event
      • 🚗Navigation
        • Return to last screen
        • Push screen
        • replaceTopPage
        • Replace screen
      • 💵Paymentes
        • inAppPurchaseGetHistory
        • inAppPurchase
        • payUsingAppleWallet
    • 🗄️Database
    • 📲Variables menu
      • Context Data
      • ListContext
      • PreviusOutputs
      • Color value
      • EventOutput
      • Auth
      • Complex
      • Controls
      • General
    • ⌨️Keyboard shortcuts
    • 🔩App processes
      • Params (WebApps)
    • 📠API Functions
  • Compilations and upload to stores
    • ⚙️Settings
      • Change splash screen
      • Get google api key
      • 🔥Firebase
        • Create account in firebase
        • Switch to plan blaze
        • Get realtime database url
        • Get realtime storage url
        • Get services accounts.
        • Enable functions
        • Enable authentications
      • 📘Facebook Developers
        • Facebook for developers
    • 👾Android
      • Compilation
        • Request Apk and Abb in Apphive
        • Download Apk and Aab files
      • Publication
        • Get a developer account in Google Play Store
        • Publish your app in Play Store
        • Background location
      • Settinggs after publishing
        • Log In with Gmail after publishing
        • Log In with Facebook after publishing
        • Copy the database and develop users to Firebase
      • Update app in play store
        • Update version on Play Store
    • 🍎IOS
      • Previous settings
        • Get a Unlimited plan
        • Request iOS permissions
      • Developer account
        • Get a developer account
      • Compilate version on testflight
        • Create a contanier in App Store and generate Testflight version
      • IOS settings in firebase
        • Enable push notifications in Firebase
        • Enable login with Apple record in Firebase
      • Publish in app store
        • Select app to review
        • Take screenshots to publish in App Store
        • Fill the App Store form
      • Updates
        • Update your app in App Store
    • 💻WebApp
      • 💻Domains
      • 💻SubDomine
      • 💻Logins
        • 📡Google
        • ⌨️Facebook
      • 💻Vapid public key
    • ❌Compilation errors
      • Error code: 01
      • Error code: 03
      • Error code: 04
      • Error code: 07
      • Error code: 09
      • Error code: 10
      • Error code: 11
      • Error code: 12
      • Error code: 14
      • Error code: 17
      • Error code: 18
      • Error code: 20
      • Error code: 22
      • Error code: 1039
  • Pricing
    • 💰Subscriptions
      • Get a Premium or Unlimited subscription
  • Resources
    • 📕Others
    • 📘Glossary
    • ❓FAQs
    • 🆘Support
Powered by GitBook
On this page

Was this helpful?

  1. Elements
  2. Functions
  3. Logic

Global Formater

PreviousforEachNextValue is invalid

Last updated 1 year ago

Was this helpful?

The global formater function aims to format values based on their type. It provides options for formatting, such as converting strings to numbers, objects to arrays, and encoding values in base64 or MD5.

object

object --- arrayWithId

This combination of options will allow you to convert an object into an array with an ID.

Example:

Origin data : You should send a value of object type in which all top-level properties will be converted into array positions.

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail : null

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail : null

object --- arrayWithoutId

This combination of options will allow you to convert an object into an array withOut an ID.

Origin data : You should send a value of object type in which all top-level properties will be converted into array positions.

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail : null

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithoutId

Target type detail : null

object --- get

This combination of options allows you to retrieve the value of a specific property within an object. Remember that you can retrieve values from the top level or access and retrieve values from nested levels using the correct structure. For more details about this structure, please refer to the documentation here.

Origin data : You should send a value of object type in which all top-level properties will be converted into array positions.

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.le.

Example: object

Origin type detail : name

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: get

Target type detail : null

object --- set

This combination of options allows you to create an object with at least one property and its value. Additionally, you can concatenate this object with another one you already have and set the property at the top level of that object.

Origin data : You should send a value of object type from which it will extract the required property.

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail : You should send a string with the name of the property you want to extract from the object.

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: set

Target type detail : null

object --- concatObjects

This combination of values will allow you to concatenate two objects, returning a single resulting object.

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: concatObjects

Target type detail : null

object --- jsonStringify

This combination of options converts our object into a string value in JSON format. It takes as an argument the object or value that you want to convert and returns the JSON representation as a string of characters.

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: jsonStringify

Target type detail : null

Array

array --- concatArrays

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: concatArrays

Target type detail :

array --- slice

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type :

Target type detail :

array --- orderBy

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

number

number --- Hexadecimal

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

number --- round

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

number --- money

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

number --- moneyNumber

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

number --- string

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string

string --- noSpaces

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- trimmed

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- slice

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- number

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- Hexa Encoding

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

object --- MD5

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- Base 64

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable..

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- remplace

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- remplaceAll

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- Title Case

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- Lower Case

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- Upper Case

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- sha256

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- split

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- hmacSha256

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- hmacSha256Hex

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

string --- jsonParse

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

Target type detail :

Base 64

Base 64 --- String

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

xml

xml --- json

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

json

json --- xml

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

date

date --- date

Locale :

Origin data :

Origin Type :In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

HTML

HTML --- String

Locale :

Origin data :

Origin Type : In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

Origin type detail :

Target type : In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

error :

OutVars

Null

success :

OutVars

Null

⚙️
⛓️