1. Home
  2. Docs
  3. External File Storage for creatio
  4. File sharing
  5. Set up receiving files by link

Set up receiving files by link

Before using the file, sharing feature added to creatio, follow these steps:

  1. Add registration of service PtFileShareService.svc to the application directory Terrasoft.WebApp\ServiceModel добавить регистрацию сервиса svc with content:                                                                                                                         <%@ ServiceHost Language=”C#” Debug=”true” Service=”Ptsoft.PtFileShareService” %>
  2. Add information about service in the file Terrasoft.WebApp\ServiceModel\http(s)\services.config:                              <service name=”Ptsoft.PtFileShareService”><endpoint name=”PtFileShareServiceEndPoint”address=””binding=”webHttpBinding”

    behaviorConfiguration=”RestServiceBehavior”

    bindingNamespace=”http://Terrasoft.WebApp.ServiceModel”

    contract=”Ptsoft.PtFileShareService” />

    </service>

  3. Add in the file Terrasoft.WebApp\Web.config:                                               <location path=”ServiceModel/PtFileShareService.svc”><system.web><authorization><allow users=”*” />

    </authorization>

    </system.web>

    </location>

  4. Ghange the parameter AllowedLocations, add the value ServiceModel/PtFileShareService.svc.
Was this article helpful to you? Yes No