변수 텍스트

일반 텍스트(글)나 특정 데이터를 변수로 넣고 커스텀하여 표시할 수 있어요.

변수 텍스트 블록은 언제 사용하나요?

  • 데이터로 등록되지 않은 텍스트를 앱 화면에 보여주고 싶을 때 사용해요.

  • 텍스트에 변수를 주고 싶을 때 사용해요. (ex. 앱 푸시 텍스트 내용을 입력할 때, 작성자 닉네임에 따라 유저에게 다르게 보여주고 싶다면 변수 텍스트 블록을 사용해요.)

변수 텍스트 블록의 특징은 무엇인가요?

  • 변수 텍스트 블록은 텍스트 블록과는 다르게 데이터로 저장되지 않은 텍스트(글)도 앱 화면에서 보여줄 수 있어요. 예를 들면, 복합 메타에서 탭의 제목을 앱 화면에 띄우고 싶을 때 데이터 항목 ID와 연결하지 않고도 변수 텍스트 블록을 사용해서 텍스트(글)을 보여줄 수 있어요.

  • ${항목ID}를 입력하면 항목에 해당하는 데이터가 입력되어 보여요. 예를 들면, 변수 텍스트 블록에 "저는 ${_userInfo.nickName}예요." 라고 작성하면, 이는 앱 화면에서 '저는','예요'는 항상 그대로지만 작성자의 닉네임에 따라 ${_createUser.nickName}부분이 다르게 보여요. (글의 작성자 닉네임의 항목ID가_createUser.nickName예요. )

#변수 텍스트, #${항목ID}, #텍스트, #텍스트 입력하기, #텍스트 나타내기, #복합 메타 제목 쓸 때

2023.07.25 Jinny

Variable Text

Put regular text or specific data into a variable and customize its display.

When do I use a variable text block?

  • This block is used when you want to display text in your app that is not registered as data.

  • This block is used when you want to add a variable to your text. (E.g., when entering text for an app notification, use a variable text block to display this message differently to different users based on their username.)

What are the characteristics of variable text blocks?

  • Unlike text blocks, variable text blocks can display text on your app screen that is not saved as data. For example, if you want to display the title of a tab on a multiple screen app page, you can use variable text blocks to display the text without linking to the ID of specific data.

  • When entering ${itemID}, the data of the specific item will appear and show as if it has been entered instead. For example, when entering "I am ${_createUser.nickName}" in the variable text block, the app page will always show "I am" to all users but "${createUser.nickName}" will look different depending on the username of the author of a post. (The item ID of a post's author username is createUser.nickName.)

2023.07.26 Hwaran

Last updated