Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!