Support Topics Documentation Slack YouTube Blog

Getting & Displaying current Page Title with Codeless

How can I capture the current page title using codeless. Can anyone please show me an example and which I block I would need to put together?

Thanks in advance.

Hello, @KLoic.

You can work with page parameters in the components section.

What exactly do you need to get?
Please describe your goal in more detail.

image

Best regards, Nikita.

Hi @Nikita_Fedorishchev,

I would like to first capture this page title displayed here and then split the text to only capture the number at the end.

image

Thank you!!

Hello @KLoic

you can use the “Page Title Logic” logic to change it dynamically

For instance, you can bind it to the Page Data model and then change it from anywhere

Regards, Vlad

Hi again,

Here is what I would like to do:

  1. Create a Timer that will run at x interval
  2. Create a copy of a page directory under this path: /files/ui-builder/containers/default/pages
  3. Rename the newly copied directory
  4. Change the Page-Title of the index.html page. I mean rename the page title what we see here in the UI builder:

image

I managed to do step 1 to 3. I have no clue if it’s possible to do 4 with a Timer. Is it possible to access the Page Title with a codeless timer?

Thanks in advance.

cc @vladimir-upirov @Nikita_Fedorishchev

Could you please tell us what’s the purpose of generating UI-Builder pages using Business Logic, I’m asking because it is a little bit beyond the main pattern of the UI-Builder