Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

136
Vistas
How can I change page text from the backend in Velo by Wix

How could I change text on the page from the backend using Velo by Wix? Is this possible? I want to do this since I want to display confidential information about the current user, and I don't want to give the frontend access to a function that would return that info so I could do it from the frontend. Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Wix uses .jsw files to handle front-end calls to the backend. The functions are called by the client but performed by the server

As a very basic example, let's say you want to get a wix-secret from the backend, and display in a text element

page.js:

import {getSecret} from 'backend/test.jsw'

$w.onReady(async () => $w("#secretText").text = await getSecret())

backend/test.jsw:

import wixSecretsBackend from 'wix-secrets-backend';

export function getSecret() {
    wixSecretsBackend.getSecret("secretName")
}
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda