Frequently Asked Questions

    Components

  • Is the RSVP feature or a similar function to sign up for events available in GraphJS?

    We are still developing GraphJS and will definitely consider creating a component equivalent to the RSVP feature. However, you can make use of the sign-up component and the star buttons to have users use them to react to an event, which also results in an effect like the RSVP feature does.

  • How can I add a contact form to my website?

    A creative way to achieve it would be using GraphJS Messages: Composer in anonymous mode. Here is an example to show how it would work:

    <graphjs-messages-composer id="[USER_ID_OF_THE_PERSON_THIS_MESSAGE_WILL_GO_TO]" anonymity="on"></graphjs-messages-composer>

    All you need to do is to find your user id and replace [USER_ID_OF_THE_PERSON_THIS_MESSAGE_WILL_GO_TO] with it.

  • Can I add custom fields such as LinkedIn URLs and other metadata to the user registration?

    This feature in on our list and still under development now. We will provide official updates once it is ready. Stay tuned!

  • I want to obscure or remove certain content if the visitor is not signed in. How can I do it?

    You can use the <graphjs-private-content> tag if the elements already exist. Another approach is making the elements private using the API call addPrivateContent then displaying it with the call getPrivateContent. The second approach is also useful in case the elements do not exist yet (you’re planning to add them)

  • How can I assign an ID to a private-content component?

    You don’t need to as the ID is assigned automatically. I you want to know the ID of the component when you create it, this is an example of the API call you can use to reveal the ID: GraphJS.addPrivateContent("&lt;div&gt;Some very secret info&lt;/div&gt;", function(response) { console.log(response); }) where the first argument is the content you'd like to hide, and the second logs the content ID in response. The same method can be used to see the ID of other types of components such as with listGroups, getMembers, addComment, etc.

  • Does GraphJS work with my own login and authentication?

    Yes, this is possible with single-signon. For more information, check out https://graphjs.com/docs/integrations/single-sign-on and contact us to get your token.

  • Can I use single sign-on so that users can use the credentials across platforms and applications?

    Yes, this is possible with single-signon. For more information, check out https://graphjs.com/docs/integrations/single-sign-on and contact us to get your token.

  • Can my users make a comment without having to log in?

    This feature is on our development list. Stay tuned for more updates in the future!

  • How to remove boxes from GraphJS components?

    You noticed that each GraphJS component come within a padded box, right? You can remove these boxes if you want. This way, you can make the components blend in your design. You just need to change the box attribute to disable it; just add box="disabled" and that should do it.

  • How to add/change titles to GraphJS components?

    Sometimes we need titles to clarify things. You can see titles on top of some GraphJS components. If you want, you can add titles to almost every component using title attribute. You can also change the existing ones as you see in the example.

    <graphjs-messages title="Custom title goes here."><graphjs-messages>
  • How to limit a GraphJS component's width?

    A good layout design is important for web design. In order to not ruin it, GraphJS components takes its parent element’s shape thanks to their 100% width rule. However, you can change this using max/min-width/height attributes, if you please. You can use px, em, and % to achieve that.

    <graphjs-forum max-width="800px"><graphjs-forum>

Further Questions?