• 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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 47m ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

15 views 0 2
Read article

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