imthenachoman / nSPTiles

Windows style tiles for SharePoint
http://nsptiles.js.org
MIT License
11 stars 5 forks source link

Clone: Unable to add new tile. #8

Open waldropnet opened 7 years ago

waldropnet commented 7 years ago

Cloning tile results in "Unable to add new tile" error. Any idea what is causing this issue?

imthenachoman commented 7 years ago

What version are you on and what actions are you taking in the order you take them? Are you able to add a new tile?

waldropnet commented 7 years ago

version 1.5. I went about adding several new tiles, then deleted all but one of them in favor of trying the clone function. When I try to clone the remaining initial tile I get the message "Unable to add new tile". I have tried placing it in several positions within the cewp.

imthenachoman commented 7 years ago

That is very odd. The code to add a new one and clone one is exactly the same. Any way you could send me an Excel dump of your nSPTiles1_5 list? If not, let me see if I can recreate the error another way.

waldropnet commented 7 years ago

I realized this morning that the buttons that I could not clone had java script links already setup in them. Once I removed the script I was able to clone with no problem. I would be glad to send the list to email address but cannot upload direct.

imthenachoman commented 7 years ago

Wow. Great debugging. Any way you could tell me the JS you had in that tile so I can figure out what is wrong? And thanks!

waldropnet commented 7 years ago

{window.open("http://XXXX.aspx", "_blank", "toolbar=no,scrollbars=no,resizable=no,width=240,height=200,top=0,left=1000"); }

Just a simple script to open a SharePoint page in a sized window. The script works fine. But I could not clone a tile with this inserted as the link.

imthenachoman commented 7 years ago

Thanks. I'll do some debugging to figure out what the issue is.

imthenachoman commented 7 years ago

Can you tell me what browser and SP version you are using? When I test this on SP 2013 on IE 11 I am able to successfully lone a tile that has JS like what you pasted.

imthenachoman commented 7 years ago

And/or if you could please e-mail me the Excel dump? My e-mail address is at http://nsptiles.js.org/#support--issues--contact--help.

mobilekasey commented 6 years ago

I have experienced this same issue with 1.5.

imthenachoman commented 6 years ago

@mobilekasey so if tile link type is javascript and you have some code as the tile link URL then you can't clone it?

imthenachoman commented 6 years ago

@waldropnet and @mobilekasey Have y'all noticed this issue with 1.5.1? I am unable to recreate the issue.

mobilekasey commented 6 years ago

I have seen an issue with cloning but it doesn't happen all the time and I haven't isolated what config option makes it happen yet.

Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: IMTheNachoMan notifications@github.com Date: 4/17/18 10:03 PM (GMT-05:00) To: imthenachoman/nSPTiles nSPTiles@noreply.github.com Cc: mobilekasey mobilekasey@gmail.com, Mention mention@noreply.github.com Subject: Re: [imthenachoman/nSPTiles] Clone: Unable to add new tile. (#8) @waldropnet and @mobilekasey Have y'all noticed this issue with 1.5.1? I am unable to recreate the issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/imthenachoman/nSPTiles","title":"imthenachoman/nSPTiles","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/imthenachoman/nSPTiles"}},"updates":{"snippets":[{"icon":"PERSON","message":"@imthenachoman in #8: @waldropnet and @mobilekasey Have y'all noticed this issue with 1.5.1? I am unable to recreate the issue."}],"action":{"name":"View Issue","url":"https://github.com/imthenachoman/nSPTiles/issues/8#issuecomment-382221927"}}}