2017-03-08 8 views
1

아주 기본적인 Excel 추가 기능을 만들고 싶습니다.'sandbox'속성을 구문 분석하는 동안 오류가 발생했습니다 : 'ms-allow-popups'가 유효하지 않은 샌드 박스 플래그 임

enter image description here

사람이 이러한 오류를 해결하는 방법을 알고 있나요 : 그러나 나는 Excel Online에서 XML 파일을로드 한 후 오류를 가지고있다? 여기

는 XML 파일입니다

<?xml version="1.0" encoding="UTF-8"?> 
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp"> 
    <Id>2145a915-4e7b-473f-a879-a5a5e8654152</Id> 
    <Version>1.0.0.0</Version> 
    <ProviderName>Microsoft</ProviderName> 
    <DefaultLocale>en-US</DefaultLocale> 
    <DisplayName DefaultValue="Fun (online)"/> 
    <Description DefaultValue="Fun (online)"/> 
    <Capabilities> 
    <Capability Name="Workbook" /> 
    </Capabilities> 
    <DefaultSettings> 
    <SourceLocation DefaultValue="https://localhost/PRODSERVER/Fun/addin_online/Home.html" /> 
    </DefaultSettings> 
    <Permissions>ReadWriteDocument</Permissions> 
</OfficeApp> 

그리고 Home.html

<!DOCTYPE html> 
<html> 
    <head> 
    <meta charset="UTF-8" /> 
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> 
    <title>Fun (online)</title> 

    <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js"></script> 
    <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script> 
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> 

    <script src="js/Notification.js"></script> 
    <script src="js/Home.js"></script> 

    <link href="css/Common.css" rel="stylesheet" type="text/css" /> 
    <link href="css/Office.css" rel="stylesheet" type="text/css" /> 
    <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.min.css"> 
    <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.components.min.css"> 

    </head> 
    <body class="ms-font-m"> 
    <div class="padding"> 
     <button class="ms-Button" id="open">open</button> 
    </div> 
    </body> 
</html> 

답변

1

지금까지 내가 처음 내가 같은 일을 Outlook에서 모든 itme를 참조 (Microsoft에서 노이즈를 기록 것을 알고), 나는 두 번째 것을 보지 못했지만 추가 기능과는 무관 한 것처럼 보입니다. 실제로 문제가 있습니까?

+1

지금까지 문제가 발생하지 않았습니다 ... – SoftTimur