Page keys maximum length

Comments

6 comments

  • Avatar
    Amit Kapoor

    What process are you using for adding page keys. REST API?

    0
    Comment actions Permalink
  • Avatar
    Ronan Depagne

    Yes, i'm using the scroll-versions/1.0/metadata/scroll-page-key/ api call. I assume the same limitations apply to the API and the UI. I know that we cannot use "." character at least. I'm looking for the other constraints to page keys.

    Thanks

    Ronan

    0
    Comment actions Permalink
  • Avatar
    Roman Serazhiev

    Hi Ronan,

    Page Keys are limited to 64 characters. Acceptable characters: "_", "-", "+", "a-z", "A-Z", "0-9".

    Roman.

    0
    Comment actions Permalink
  • Avatar
    Ronan Depagne

    Thank you very much, this is very helpful.

     

    Ronan

    0
    Comment actions Permalink
  • Avatar
    Jonny Carter

    I was messing around with this. I noticed that the error message in the UI is a bit misleading if you try to set a page key that's too long. Instead of saying that it's too long, it tells you that you have some disallowed characters.

    For example, try to set page key:

    this-is-the-page-key-that-does-not-end-yes-it-goes-on-and-on-my-friend

    and you get

    Sort of a nitpicky thing, but it'd be nice if it was clearer.

    0
    Comment actions Permalink
  • Avatar
    K15t Team

    Hi Jonny,

    thank you for reporting this.

    We have created a Jira issue for this which you can find here via this link: https://k15t.jira.com/browse/VSN-4459    

    Cheers,
    Johanna (K15t).

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk