問題タブ [office365-apps]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - Office 365 作業ウィンドウ アプリのデバッグ ターゲットを Windows ストア アプリ バージョンの Word/Excel に設定しますか?
Javascript API for Office を使用する作業ウィンドウ アプリを開発しています。現在、F5 キーを押して Word または Excel を実行してデバッグすると、デスクトップ バージョンの Word/Excel が起動し、その中にタスク ペイン アプリが表示されます。代わりに Word/Excel の WinRT (Windows Store App/Metro) バージョンを使用してタスク ウィンドウ アプリを起動するように Visual Studio 2013 を構成するにはどうすればよいですか?
ms-office - SharePoint Online ドキュメント共有 API
API を介して外部ユーザーとファイルを共有しようとすると、社内アプリがファイルを共有ポイントにアップロードし、表示専用リンクを返します。その後、メールなどを避けてそのリンクを外部ユーザーに送信できます。
これは .NET C# で可能ですか?
javascript - 適切にロードされているにもかかわらず、JSON データを取得できません。なぜそうなるのでしょうか? 空白の警告ボックスが表示されています
以下は私のコードです。JSON データを取得したいのですが、office 365 Napa で鉄道アプリを実行しています。JSON は読み込まれていますが、データが表示されません。 HMAC 署名は、URL で渡すことによって生成されます。読み取る必要がある JSON を取得します。
JSON 応答は次のとおりです。
javascript - Word ツールペイン アプリが REST API を使用して SharePoint 2013 オンライン ポータルにアクセスできない
ナパで単語の検索アプリを開発しています。SharePoint オンライン ポータルでキーワードを検索したいと考えています。検索ボタンをクリックすると、「アクセスが拒否されました」というエラーが表示されます。私のコードは以下の通りです。どうすれば私のポータルにアクセスできますか?
前もって感謝します!
sharepoint-2013 - Creating site collection programmatically with custom site template in Office 365 APP
I am trying to create a site collection in Office 365 through an auto-hosted app. I am using the Microsoft.Online.SharePoint.Client.Tenant.dll and my code is as below.
However, I would like to use a custom site template that I have created, instead of the "STS#0" team site template. The custom site template exists in the Solution Gallery of the site collection in which my APP is deployed. Is there a way I can upload this site template and activate it, during the creation of the new site collection programmatically?
oauth-2.0 - How to update Office 365 SharePoint App Client Secret after it expired?
In MSDN http://msdn.microsoft.com/en-us/library/office/jj220036(v=office.15).aspx, Office 365 requires to update the client secret before it expired. But we forgot to do this before it expired. Now after we updated a new client secret, added a new one first and then removed the old expired one, the app in some sites does not work and the app in some sites works well. The error is we cannot get the accesstoken from the content token with the new client secret.
System.Exception: SharePoint2013Authentication Exception: System.IdentityModel.Tokens.SecurityTokenException: Invalid JWT token. Could not resolve issuer token.
at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken)
javascript - JavaScript API を使用して PowerPoint スライドから要素情報を取得する方法は?
私は新しい JavaScript Office API で遊んでいます。これは素晴らしいニュースだと思います。私は Excel API で遊んでいますが、これまでのところ多くの問題はありません。問題は、まだ達成できていない PowerPoint API の目的が 1 つあります。それは、スライドからすべての情報を抽出する方法です。
Document.getSelectedDataAsyncを使用しましたが、PowerPoint に使用できるのはOffice.CoercionType.SlideRangeのみであり、 id、title、および indexを含む JSON のみを返すことがわかりました。
特定のスライドからオブジェクト データを抽出する方法を探しています。これは、ファイルをエクスポートしてから XML ファイルにアクセスし、それを JSON にマッピングして API に送信することで実行できるため、後でそのデータを使用できます。このオプションは、膨大な開発コスト (ファイル全体の送信) を伴います。
したがって、最後の質問は次のとおりです。
PowerPoint の固有のスライドに配置されたすべてのオブジェクトからのデータを含む JSON を取得する最良の方法はどれですか?
前もって感謝します!
php - Office365 /Azure ログイン ユーザーの電子メールの設定
Office 365 に接続してユーザーの最新の X メールを取得し、ダッシュボードにプレビューとして表示するアプリを作成しています。
私が持っているものは次のとおりです。
- ユーザーがページをロードします。
- adfs sso 経由でログインする
- ダッシュボードにリダイレクトします
- Office 365 ログインにリダイレクトします (私の oAuth スクリプト経由 - https://login.windows.net/common/oauth2/authorize、リソース: https://outlook.office365.com/、状態: MD5 ID、login_hint = urlencoded メール、 WHR = adfs.domain.com (正しくありません)。
- 電子メール アドレスは事前に入力されており、電子メール フィールドから TAB で移動する必要があり、パスワードを入力する前に adfs サーバーにリダイレクトされます。
- adfs はログインを確認し、ダッシュボードにリダイレクトします - メールを表示します。
以下のリソースを読んでわかったことは、Azure ログインをバイパスする WHR パラメータを渡すことができるということです。
http://msdn.microsoft.com/en-us/library/gg185963.aspx
以下に例を示します。
[更新されたワークフロー] ありがとうございます。