Sharepoint Online (Dedicated) - Is it allowed to use safe controls and app_globalresources ?

Întrebare Sharepoint Online (Dedicated) - Is it allowed to use safe controls and app_globalresources ?

  • 27 iulie 2012 12:41
     
      Are cod

    Platform : Microsoft SharePoint Online (Dedicated)

    We are currently testing a migrated solution on MSO replicated servers, and we are having these two issues on deployment.

    1. Is it allowed to deploy safe controls in packages. By adding a safe control in a package to an assembly SharePoint adds an entry in the web.config. Is this allowed and thus it work on a multiple server environment ?

    This is what we are doing to deploy the safe control entry

        <Assembly Location="Exigy.Sharepoint.ApplicationLogic.dll" DeploymentTarget="GlobalAssemblyCache">
          <SafeControls>
            <SafeControl Assembly="Exigy.SharePoint.ApplicationLogic" Namespace="Exigy.SharePoint.ApplicationLogic.Webparts" TypeName="*" SafeAgainstScript="True" />
          </SafeControls>
        </Assembly>

    2. Also, is it allowed to deploy resource files using the "AppGlobalResource" deployment type which maps to the special virtual folder found at WebApplication level ?

    This is what is being done as regards to the resource

    <Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="25a868ce-cd87-4f6e-b72b-4b310eb9f385" SharePointProductVersion="14.0">
      <ApplicationResourceFiles>
        <App_GlobalResourceFile Location="bax.en-US.resx" />
        <App_GlobalResourceFile Location="bax.resx" />
      </ApplicationResourceFiles>
      ...

    If these are allowed, may you please tell me the proper way of doing it and what i might be doin wrong? What should I be careful for ?

    Thanks in advance.



    • Editat de Mjorn 27 iulie 2012 12:42
    •  

Toate mesajele

  • 7 august 2012 17:52
    Moderator
     
     

    Hi,

    If you are using Microsoft to host a dedicated server for your SharePoint environment, you will nee to contact your TAM to have a service request created regarding your issue.

    Thanks,


    Tim Muth

    Microsoft Online Services Technical Support