Pricing Blog

Help forum

  • plusmin-1375041616519233596

    Armand

    👌1
    4

    5 months ago

    roughJS(like) styled elements in NC
    Does anyone have an idea (or can point me in the right direction) on how to create styling like [Wired Elements](https://wiredjs.com/) does it here: https://wiredjs.com/showcase

    I've played around with it for a bit now and I get a very basic looking rectangle canvas element. I've used a custom action for this that imports the roughjs npm.
    But I have some doubts about efficiency and scalability in the way I'm doing it.

    I assumed it would not be possible to do it in a native NC way. But perhaps I just can't think of it and it is actually possible.
  • s.lucian0777-1374754670328942624

    lucian0

    4

    5 months ago

    How to build an eccomerce site
    Anybody have advice on building an eccomerce website that has a xano backend and works maybe with Shopify I don’t necessarily need the designing part help more the backend and API stuff does anyone know a tutorial or have any advice
  • .targox-1374684965328916530

    Targox

    7

    5 months ago

    How to share data between multiple web components on a single page
    I have a Webflow page with two separate web components:
    1. A user profile component, which handles all API calls related to loading the user and member data.
    2. A course list component, which displays all available courses the user can sign up for.

    What I’d like to achieve is this:
    If a user is already registered for a course, the course list should hide the “Register” button and instead show a message like “You’re already signed up for this.

    The issue is that the course list component currently has no access to the user data held by the profile component. Duplicating the same API calls across both components feels inefficient and like poor practice.

    If cookies/storage is the only way, so be it, but I'd like to know if there's a more elegant way. Thanks!
  • saillmone-1374659111878393941

    saillmone

    4

    5 months ago

    Mapbox + custom actions
    Hello,

    I'm having a little trouble with MapBox and Custom Actions.
    I've initialized my map with a custom action, and it's working.

    Now I'd like to send data to this map to apply a filter (via a client click).
    To return the map, we need to use events, right?
    The problem is that the map keeps reinitializing and creates duplicates if I call ctx.triggerActionEvent("returnMap", mapBox);

    I tried doing an "if(mapBox) return mapBox;" but that takes the HTML block into account.

    What's the solution?

    Thanks in advance!
    Simon
  • s.lucian0777-1374080247745745057

    lucian0

    5

    6 months ago

    Submission forms
    Anybody have a tutorial on how to setup submission forms so I can receive the data to my email that someone sends in a submission forms
  • sanedealer-1373957448075051118

    Edwin Paul

    1

    6 months ago

    Read Custom Claims Server Side
  • needtheanswers-1373682836636303360

    needtheanswers

    18

    6 months ago

    Why does null not equal null here?
    I have this formula that seems to return null but when I compare it to null by using Equal it returns false. I even used TypeOf to check if the type is actually null and it is. Based on Nordcraft AI an empty array is not compareable to null ( it is recommended to use Size in this case). But even if I use Size it doesn´t return 0 but null. Can anyone help?
  • henk_08753-1373286112688214097

    Henk_BLUE

    16

    6 months ago

    Does Nordcraft block the Cookie header?
    My backend sets http-only cookies via a Set-Cookie header. These are saved correctly in the browser as long as I do not use proxied API requests (which I don't intend). But when I execute API calls from Nordcraft, the Cookie header is not included.

    Are credentials not included in HTTP request in Nordcraft by default? Can we include them?
  • gerson_ca-1372958342690897920

    Gerson CA

    7

    6 months ago

    Component not hiding
    I have this component that I wanna hide when my sidebar is collapsed. However, it is not working even though the formula is showing false and other elements are hidings without problem.
  • jehex-1372942100777271399

    Jehex

    1

    6 months ago

    Emoji and xano input text
    Hi there, sorry for my noob question but Im working on a chatbot with xano and as soon as I pass an emoji to my request body ( xano endpoint has a text input ) my api call is just ignored ( I dont get any error messages on xano )


    Would like to know if I have to convert every messages into utf 8 ?
  • jerome_13677-1372676289080721560

    Jerome

    34

    6 months ago

    Todo API authorization error
    Hi all,

    I am following the old video on the todo app. I'm at the point where I am creating a todo API.

    I have logged in successfully got an auth token.

    I went to my homepage (todo page) and tried to make my API but its getting an error code about authorization (see attached).

    The UI has moved on since the video so in which I see him scroll down to authorization and just pick auth token, which is no longer there. I tried using Headers?

    Please advise when you can.
  • gerson_ca-1372592391709659197

    Gerson CA

    6

    6 months ago

    Variable inside a component
    Hi I have this variable inside a component which is set with API data that I am sending via attributes. Then, on a list I am referencing the variable to display the data using the repeat option. This works fine in the component but on my main page I do not see the list data being rendered. Does it mean I have to move the variable up a level?
  • ssssadsadasd-1372504750616088607

    ssssadsadasd

    7

    6 months ago

    Round date to day
    [Here](https://editor.nordcraft.com/projects/moccasin_palpatine_chief_rook/branches/start/components/test99?selection=nodes.MHfCYq9evFtu3TFfqeLzM.value&rightpanel=style), I want to create a date 14 days from now rounded to 00:00:00 in UTC time.
    adding the 14 days is fairly simple (now -> timestamp -> add 1209600000 seconds -> date from timestamp) but I dont know how to round this to a day and make hours=minutes=seconds = 0
    anyone has any idea?
    thanks
  • stockton_f-1372436788546900068

    Stockton

    5

    6 months ago

    Chat Interface CSS
    Alright, CSS is getting the better of me.

    I'm trying to come up with a chat interface where the text input field is always pegged to the bottom.

    The input can expand up to a certain max-height which should case the messages area to adjust accordingly filling any available space.

    I'm having troubles on mobile where there's the sticky header and just getting it to stay where I want it in general on both mobile and desktop.

    Here's the branch link: https://editor.nordcraft.com/projects/beige_yoda_subtle_vole/branches/start/components/home?canvas-width=800&canvas-height=800&rightpanel=style
  • quietrocket-1372174989326811267

    QuietRocket

    2

    6 months ago

    Reacting to Workflow exposed in Context
    Hi. I have a context based provider which exposes a workflow. When the workflow is called by a child subscribed to the provider's context, I would like to react to error or success. Since component workflows don't support events unlike global actions, I am somewhat stuck. What I'd really like is a React-Like-Effect where I subscribed to an error or success signal from the context and display a toast in the child. Any tips?

    Two ideas immediately come to mind:
    1. Integrate directly with the Toast provider. This way my provider can directly trigger the toast on error or success. Problem is I am doing this from within a package, so I can't include Spark's Toast context. Other problem is child workflows won't know if error or success.

    2. Poll on a variable exposed by the provider context via a recursively invoking workflow. This is totally possible and achieves a React-Like-Effect, but it's a mess to implement each time, and is only simulating reactivity.