# Need help with displaying usernames and opening a document

**URL:** <https://forum.bubble.io/t/need-help-with-displaying-usernames-and-opening-a-document/58151>\
**Category:** Need help\
**Created:** [May 31, 2019, 11:13am UTC](https://forum.bubble.io/t/need-help-with-displaying-usernames-and-opening-a-document/58151 "2019-05-31T11:13:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andybr1234](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@andybr1234](https://forum.bubble.io/u/andybr1234)\
**Post date:** [May 31, 2019, 11:13am UTC](https://forum.bubble.io/t/need-help-with-displaying-usernames-and-opening-a-document/58151/1 "2019-05-31T11:13:16Z")

</div>

Hi there,

I am new to bubble and have just started making an app, however, i need help regarding 2 small matters. The first one is getting the app’s dashboard to display the user’s username, e.g welcome John Doe as i’m not sure how to do this. The second problem i’m having is uploading a google docs to the app for people to view without having to download it. I’ve tried inputting a link but when it is pressed, it always comes back with an error from google saying the docs could not be found even though anyone with a link can access it, it is published to the web, and the link is correct. I hope someone can help me with these problems.

Thanks.

---

<div class="post-metadata">

**Author:** ![luke2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luke2/32/256674_2.png) [@luke2](https://forum.bubble.io/u/luke2)\
**Post date:** [May 31, 2019, 11:39am UTC](https://forum.bubble.io/t/need-help-with-displaying-usernames-and-opening-a-document/58151/2 "2019-05-31T11:39:26Z")

</div>

Welcome.

First point is simple. Firstly, make sure you have a field within your ‘User’ data type that is ‘Username’, set to text.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/d/5d232337879a4b7e6a8aa196153748c05842d43a.png)

Then on the signup of a new user, be sure to give them the option to define a username, make sure these are unique, as you don’t wont 2 users with the same usernames of course.

On the page, draw out a text element and add the dynamic value:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/c/0c72b98b12846ca0321543bd22efb5accc0ce97c.png)

Depending if this is a admin type page or header that only shows to users logged in, you might want some logic to hide if for instance the page is available to both people who have an account and people who don’t just yet.

So for instance, hide by default but set a condition to show when condition is true (yes).

![image](https://us1.discourse-cdn.com/bubble/original/3X/8/f/8f06307bd2ecd96845607eb67b223d779256456d.png)

![image](https://us1.discourse-cdn.com/bubble/original/3X/0/6/06d968c35487f79b5ff8fdda02837577e0c79d27.png)

And if the username is somewhat optional, you could also enforce:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/b/8b4e0a294e59c5f001241526c7963db8c30c132d.png)

As for the Google docs, I know there is a few plugins available that makes this process much simpler, have a search. If not you might be able to embed onto a page, within the HTML element, but this isn’t something I’ve tried to be honest.

---

<div class="post-metadata">

**Author:** ![andybr1234](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@andybr1234](https://forum.bubble.io/u/andybr1234)\
**Post date:** [May 31, 2019, 11:56am UTC](https://forum.bubble.io/t/need-help-with-displaying-usernames-and-opening-a-document/58151/3 "2019-05-31T11:56:56Z")

</div>

thanks very much, it now works really well with the app. ill find an alternative for the docs, but do you know if i can change the color and size etc to the display username without it effecting it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [August 9, 2019, 11:13am UTC](https://forum.bubble.io/t/need-help-with-displaying-usernames-and-opening-a-document/58151/4 "2019-08-09T11:13:17Z")

</div>

Closed on August 9, 2019, 11:13am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
