Is Teams Developer Portal usable? - microsoft-teams

Microsoft announced the https://dev.teams.microsoft.com/ portal a couple of months ago as a public preview.
I wasn't able to access it but thought that might be because of the very early nature.
But still today, I only get a blank and empty page and a javascript error:
8.67d63b1c.chunk.js:2 ReferenceError: oneDS is not defined
at Function.value (main.0b85f8d8.chunk.js:1)
at main.0b85f8d8.chunk.js:1
at cs (8.67d63b1c.chunk.js:2)
at Sc (8.67d63b1c.chunk.js:2)
at t.unstable_runWithPriority (8.67d63b1c.chunk.js:2)
at Ko (8.67d63b1c.chunk.js:2)
at Oc (8.67d63b1c.chunk.js:2)
at 8.67d63b1c.chunk.js:2
at F (8.67d63b1c.chunk.js:2)
at MessagePort.O.port1.onmessage (8.67d63b1c.chunk.js:2)
Is the portal supposed to work?
I tried in Chrome, Firefox and Safari, no luck.

We have raised a bug and the concerned team is looking into it.

Related

Property ribbon doesn't exist on office

While working on enabling/desabling a control in an Excel web complement the editor throw the following error :""property 'ribbon' doesn't exist on type 'type of office'" from an 'Office.ribbon instruction'.
My Excel Version is : 2104 (Build 13929 20296)
Here is a snapshot of the code code with office.ribbon. This code comes from https://learn.microsoft.com/fr-fr/office/dev/add-ins/design/disable-add-in-commands. Note than isSetSupported('RibbonApi', '1.1') ==true
Screen shot :
Xml of my addin
Make sure you specified the latest Office JavaScript API library in the add-in manifest. If you use runtime checks, you need to reference the most current version of the Office JavaScript API library from the content delivery network (CDN). To do this, add the following script tag to your HTML. Using /1/ in the CDN URL ensures that you reference the most recent version of Office.js.
<script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script>
A workaround is to use message boxes. Off course it's quite Ugly, but I need to publish my app shortly. I hope that by this time I will find a way to actually enable/desable commands on this addin.

Embedded Yammer Script in SharePoint 2010 CEWP Opens Multiple New Windows with different Yammer Feed

I have two Yammer feeds that I need to embed in SharePoint 2010 using CEWPs. Each is on a separate page. The web part is linking to a text file in the Style Library. One of them is working correctly and displaying the feed. However, the other is opening the feed in the web part, but also pops up two windows with the other feed.
Both are embedded using the same script with the correct parameters. The only difference in the two being the "FeedId". Below is the contents of the text files (with the "Network" and "FeedId" parameters changed for privacy).
<div id="embedded-feed" style="height:800px;width:400px;"></div>
<script type="text/javascript" src="https://s0-azure.assets-
yammer.com/assets/platform_embed.js"></script>
<script type="text/javascript">
yam.connect.embedFeed({
container: "#embedded-feed",
network: "myNet.com",
feedType: "group",
feedId: "1234567"
});
</script>
Why would one of these cause popups with a different feed and the other work as expected?
This is not really a programming question and therefore may be deleted from this site. You are best to test the same Embed snippets with the configuration tool and see if you have the same issues. If you do, open a support request from within the O365 Tenant Admin portal so that someone can investigate the issue specific to your environment.
You should also note that SharePoint 2010 uses unsupported Document Modes forcing Internet Explorer to run with a down-level engine. As a result, you can experience many issues.

Can you use the "Inline Install" feature for Google Apps Marketplace listings?

I have an app in the Google Apps Marketplace via the Chorme Web Store.
On the Edit Listing page is an option for Inline Install.
I have followed the instructions, but when I click the link, I get an error in the console "Uncaught Chrome Web Store installations can only be initated by a user gesture.".
This is misleading, as it is triggered by a user gesture.
I have tried various different things such as providing the URL as the first argument to the install method, and have stepped through the code. Everything looks okay my end - I am now thinking that maybe this feature is not compatible with Google Apps Marketplace listings?
For clarity, here is my code:
Link
<link rel="chrome-webstore-item"
href="https://chrome.google.com/webstore/detail/[listingId]">
Javascript:
document.getElementById('btnTestInline').addEventListener('click', function() {
chrome.webstore.install();
});
HTML:
<button id="btnTestInline">Add to Chrome</button>
No, you can't. Also Google are removing the inline installation also any kind of apps and extensions.
As of 06/12/2018, inline installation is deprecated.
https://developer.chrome.com/webstore/inline_installation

Error 2104: Could not Load Sivlerlight Application

[The 2104 error has now "magically" disappeared and I don't know (yet) what changed - so please don't spend time on this. I will post back if/when I figure out what caused the original problem.]
Running SL4, Win7, VS2010 SP1 and this problem occurs while debugging the app(s). I have two distinct SL apps (projects) and they are in different VS2010 Solutions. I'm using the default debug web server (Cassini?). App #1 contains a hyperlink to App #2, but when I click that hyperlink I get the subject error message.
App #1 is also a SL4 app and the linking is done with code in a handler:
System.Windows.Browser.HtmlPage.Window.Navigate(uri, "_blank");
I've checked the uri in the debugger and it looks right. Identical code in another handler works OK (linking to a different target.)
App #1 is hosted on localhost:45621 while App #2 is hosted on localhost:55562. App #2 web server is already running at the time I click the hyperlink in App #1. Also, If I take the URL associated with the hyperlink that is clicked and simply paste it into a fresh browser address bar then App #2's SL page opens without problems.
I have clientaccesspolicy.xml files for both Apps:
<access-policy>
<cross-domain-access>
<policy>
<allow-from>
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
I'm at a loss as to how to troubleshoot this at this point and would appreciate any suggestions as to what the cause might be -- or how to further isolate the problem.
Thanks in advance,
Bill
please confirm if what I understand is your setup:
Web project #1
Html Page
<a href="page in other project"...
Web project #2
Html or Aspx page
Your silverlight application is here
Well.. did the testing with two solutions and, even with no clientaccesspolicy file (because I think Silverlight is the one restricted but the HTML page is not, I got the second Silverlight project opened twice no problem.
Try to do it from scratch and see if still get that problem.

Watin 2.1 error with Firefox 3.6 ContainsText and jssh

I have had problems using Firefox with Watin 2.0 and the recent 2.1 release.
FireFox: 3.6.17
Watin: 2.1.0.1196
Gallio / mbUnit: 3.2.601
Windows Server 2008 32 bit
.NET 4.0 assemblies
Visual Studio 2010
I went over these instructions repeatedly:
http://watin.org/documentation/setting-up-firefox/
I went to Firefox, File->Open, navigated to the file: jssh-3.6-WINNT.xpi
Installed the XPI in Firefox without any problem.
A few things do work fine in FF with Watin. Finding text fields, TypeText, Click, all that works. But this line of code blows up:
Assert.IsTrue(theBrowser.ContainsText(validationText), "Listing '{0}' was not found in the results.", validationText);
See below for the error. Any idea what I did wrong?
WatiN.Core.Native.Mozilla.FireFoxException: Error sending last message to jssh server: SyntaxError: missing ) after argument list
C:\QEDev\tools\WatiN\source\src\Core\Native\Mozilla\FireFoxClientPort.cs(422,0): at WatiN.Core.Native.Mozilla.FireFoxClientPort.CheckForError(String response)
Another user here on StackOverflow answered this question in a separate thread. Here is one workaround:
Sub-class based off of Watin's Firefox class
Override the ContainsText method
Use the HTML Agility Pack to load the document and call the Contains method.
This seemed to work fine for a while. On other computers I saw the same JSSH error as before.
public override bool ContainsText(string text)
{
WaitForComplete();
var htmldoc = new HtmlDocument();
htmldoc.LoadHtml(Html);
bool result = htmldoc.DocumentNode.InnerText.Contains(text);
return result;
}

Resources