• Community
  • Products
  • Bitbucket
  • Questions
  • Hi, am trying to create one sample add-on for bitbucket. I have added one sample add-on via url and got my modules in the left panel. On clicking my modules html loads and i find my dom elements in the inspect but not in my view page. What am i missing?

Hi, am trying to create one sample add-on for bitbucket. I have added one sample add-on via url and got my modules in the left panel. On clicking my modules html loads and i find my dom elements in the inspect but not in my view page. What am i missing?

3 answers

Could you post a link to Github or Bitbucket to look at your code?

This is my dom element shown in inspect..

 

<html><head></head><body>null userId===&gt;{5e0e16c8-15a2-4074-80a2-c799de240163}access_token===&gt;zrnQ0_gwlEvt67sLqpMEexBBPSwOb_LrmeGfcxAV0zZKDm5pRVHlbq_6trD1QdA3seTjdrGZBFkg0Lo0ILQ=email===&gt;soundaryas227@gmail.comrep===&gt;{"1":"dummy","0":"first-rep"}portals===&gt;{"values":[{"id":548331,"name":""},{"id":1366593,"name":"dhakshina"},{"id":25622795,"name":"pfreshers"},{"id":63226744,"name":"test"},{"id":63350627,"name":"student"}]}


<script>
console.log(50527990);
</script>

<div>


<div style="float:left;"> 
<select name="projName" id="projName_0"> 
<option value="0">Select Your Projects Portal to connect</option> 

<option value="adventnet"> </option> 

<option value="dhakshina"> dhakshina </option> 

<option value="pfreshers"> pfreshers </option> 

<option value="test"> test </option> 

<option value="student"> student </option> 

</select> 
</div> 
<div><button onclick="alert('hi')">Connect</button></div>

</div>

</body></html>

 


In view Page its shows me this

 Screen Shot 2016-08-30 at 12.45.30 PM.png

Unfortunately, without more context, I'm not sure how to help you with the issue. For future posts, I'd recommend you format your code before you paste it. Eg:

&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
null userId===&amp;gt;{5e0e16c8-15a2-4074-80a2-c799de240163}access_token===&amp;gt;zrnQ0_gwlEvt67sLqpMEexBBPSwOb_LrmeGfcxAV0zZKDm5pRVHlbq_6trD1QdA3seTjdrGZBFkg0Lo0ILQ=email===&amp;gt;soundaryas227@gmail.comrep===&amp;gt;{"1":"dummy","0":"first-rep"}portals===&amp;gt;{"values":[{"id":548331,"name":""},{"id":1366593,"name":"dhakshina"},{"id":25622795,"name":"pfreshers"},{"id":63226744,"name":"test"},{"id":63350627,"name":"student"}]}
&lt;script&gt;
	console.log(50527990);
&lt;/script&gt;
	&lt;div&gt;
		&lt;div style="float:left;"&gt; 
			&lt;select name="projName" id="projName_0"&gt;
				&lt;option value="0"&gt;Select Your Projects Portal to connect&lt;/option&gt;
				&lt;option value="adventnet"&gt;&lt;/option&gt;
				&lt;option value="dhakshina"&gt;dhakshina&lt;/option&gt;
				&lt;option value="pfreshers"&gt;pfreshers&lt;/option&gt;
				&lt;option value="test"&gt;test&lt;/option&gt;
				&lt;option value="student"&gt;student&lt;/option&gt;
			&lt;/select&gt;
		&lt;/div&gt;
		&lt;div&gt;
			&lt;button onclick="alert('hi')"&gt;Connect&lt;/button&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/body&gt;&lt;/html&gt;

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

169 views 6 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you