예제 #1
0
    static void TestUpload()
    {
        log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        Tridion.CoreService2010Client client = new Tridion.CoreService2010Client();

        Log.Info("API Version Test:" + client.GetApiVersion());
        // Use the 'client' variable to call operations on the service.
        //tcm:88-7204-2 for charles/test folder http://cms.devjp.oic.fujitsu.com/WebUI/Editors/CME/Views/Dashboard/Dashboard.aspx#locationId=tcm:88-7204-2
        UploadImages(@"D:\My Documents\My Pictures\sdl", "tcm:88-7204-2", client, Log);

        // Always close the client.
        client.Close();
    }
예제 #2
0
    static void TestUpload()
    {
        log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            Tridion.CoreService2010Client client = new Tridion.CoreService2010Client();

            Log.Info("API Version Test:" + client.GetApiVersion());
            // Use the 'client' variable to call operations on the service.
            //tcm:88-7204-2 for charles/test folder http://cms.devjp.oic.fujitsu.com/WebUI/Editors/CME/Views/Dashboard/Dashboard.aspx#locationId=tcm:88-7204-2
            UploadImages(@"D:\My Documents\My Pictures\sdl", "tcm:88-7204-2", client, Log);

            // Always close the client.
            client.Close();
    }