Publish Service and Collection Names

I am creating a publish service and need some information on the naming of publish collections.
I want to prevent the user from naming the collections anything but the name that is on the server. This needs to happen even on creation.
I know I can prevent the renaming by setting disableRenamePublishedCollection = false, but that does not help on the creation.
The best way to do this would to prevent the user from entering a name when they are creating a collection, I have yet to see a way to do this.
If not then need to set the name of the collection to the name that is on the server. I have tried this with no luck. http://forums.adobe.com/thread/662683?tstart=60
I cannot get the name of the collection to change right after it is created. It may change for a second then goes right back.
Anyone have any suggestions?
I thought of maybe making a thread that would wait a time then rename the collection, but I am lost on how to do that.

I don't know if this will help, but:
the catalog:withWriteAccessDo function creates an SQL transaction, and if any error occurs before that function returns the catalog changes are rolled back. Also, no changes take place until that function returns successfully. So try code like:
local sts = LrTasks.pcall( cat.withWriteAccessDo, cat, ..., function()
     change name
end )
then check the status...
If the status is good, but the name isn't sticking, then I don't have a clue...
Rob

Similar Messages

  • Change "Services and applications" names in failover cluster manager

    Hi. Id like to change "Services and applications" names in failover cluster manager for Windows Server 2008 R2.
    I right click on one and press rename, but when i change the name and press enter i get the message "To rename this service or application please rename the Client Access Point via its property page"
    It's important that we don't change the network name for the service

    Hi,
    Checkout this blog post
    PowerShell for Failover Clustering: Let’s Rename a Few Things
    But keep in mind if you rename the resources and you are using them in a script or backup you need to check this also with the new name.
    Greetings, Robert Smit Follow me @clustermvp http://robertsmit.wordpress.com/ “Please click "Vote As Helpful" if it is helpful for you and Proposed As Answer” Please remember to click “Mark as Answer” on the post that helps you

  • Flickr publishing service and privacy settings

    Hi,
    I recently purchased Lightroom 3, and am loving it. I've played around with the Flickr publishing service, and it seems that at the moment there is a limitation in that it is not possible to specify permissions for individual photos, but rather, an overall choice for the publishing service. I usually upload an album with restrictive permissions then make some of the photos public, so I was wondering whether if I upload an album via Lightroom 3 with permissions set to 'Private', and I change the permissions on the flickr website to 'Public', then if in future I re-upload the image after modifying it, will the permissions be reset to 'Private', or will Lightroom respect any privacy settings set directly on Flickr?
    Thanks for any advice,
    Thomas

    I don't know the answer to your specific scenario - my simple advice is "try it".
    But I do have an alternate idea if you try it and find that it doesn't work as you expect.
    I have 2 publish services both based on the Flickr plugin. (You can add additional ones by right-clicking on the existing Flickr publish service, and choosing [Add Another Publish Service via "Flickr"]
    One's set up to upload as public, the other is set to upload as private.  Under these 2 publish services I have my various photosets (public & private).
    You can also use this method to support multiple Flickr accounts (family vs. business, etc)
    - Robert

  • Hard Drive Publishing Services and Smart Collections

    Hi there,
    Total newbie here, so apologies if these are obvious. I haven't had much luck with the various searches I've tried.
    Is it possible to publish a smart collection? When I add a rule to my "published smart folder", I only get entries when I specify searches against plain old vanilla collections versus the smart variety. I certainly can use all the same rules from my collections smart folder, but maintaining those rules in one place would be much less error prone, I believe
    Is it possible to specify that a smart collection be exported to a sub-folder of the Hard Drive Publish Service? Essentially what I have are smart collections, divided into months. I want each month to export into their own month folders. Each folder then appears as a different album for iPhone/iPad/AppleTV. The only solution I'm seeing right now is to create separate Hard Drive Publish Services, one for each month.
    Thanks for any help on these!
    -Kevin

    1. No. A smart collection (or a smart published folder, which is essentially the same) cannot search in another smart collection. You can only use the new smart published folder and trash your old smart collection to keep things simpler. A smart published folder is essentially a smart collection that resides in the Publish Services panel.
    2. Yes, each published folder or smart published folder, as well as a published folder sets, create their own folder on drive. Published folders sets create a level of hierarchy when exported.

  • Pl/Sql web service and collections not working

    Hello
    I'm trying to create a web service from a function in a package which returns a collection. The creation of the web service and its deployment seem to work correctly. I do get the following warning :
    WARNING: OWS-00077 The Value Type class: pxWsLang.PamLanguagerecordBase does not have a valid JAVA Bean pattern
    but I don't think this is the source of the problem.
    When I try to test the web service using the endpoint in the wsdl I get the following answer in the browser:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>Error creating target: pxWsLang.WsLangUser</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    In the DOS window for the OC4J I get the following error :
    2006-11-15 09:21:25.852 ERROR OWS-04005 An error occurred for port: {http://pxWs
    Lang/WsLang.wsdl}wsLangSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creati
    ng target: pxWsLang.WsLangUser.
    The PL/SQL code is as follows :
    Object:
    CREATE OR REPLACE TYPE PAM_LanguageRecord as OBJECT
    NR NUMBER(3),
    SYMBOL VARCHAR2(2)
    Collection:
    CREATE OR REPLACE Type PAM_LanguageTable as Table of PAM_LanguageRecord;
    Package body :
    create or replace package body PAM_TEST is
    function CursorTest return Pam_LanguageTable is
    Res_LangTable PAM_LanguageTable;
    cursor cur is select * from stc_languages;
    begin
    Res_LangTable := new PAM_LanguageTable();
    for Rec in cur loop
    Res_LangTable.Extend(1);
    Res_LangTable(cur%ROWCOUNT) := new PAM_LanguageRecord
    (Rec.NR,
    Rec.SYMBOL
    end loop;
    Return Res_LangTable;
    end;
    end;
    I'm using JDeveloper version 10.1.3.1.0.3984
    How can I get this to work ? (without using Apache Axis or other tools :-)
    Is it supposed to work ?
    Many Thanks
    Paul

    Hi,
    for the "error creating target" problem I found the solution here:
    [WS from a PL/SQL package]: Error creating target
    Hope this helps.
    Regards,
    Patrik

  • Why is Lightroom 5.4 so slow in Publish services and Book module?

    I've been using Lightroom 5 for a few months now. I'm using the latest version (5.4) and have been experiencing extremely slow performance in two main areas:
    1) When in the Library module and I select (or scroll down to) the Publish services on the left it pauses for 10+ seconds before displaying the valid services. Changing between different services also takes quite a while. I now have the services minimised unless I need them.
    2) When in the Book module and I try and change a page layout the first time I select the drop down the cursor changes to a spinning circle for a while. Sometimes it comes up with the dialog saying Lightroom has experienced problems and I can either close it or wait. It usually recovers without any input from me. However, the first time I select the drop down it will close without me being about to select anything. I then have to press it again and wait for the layouts to load before I can scroll through the list. This occurs on every page. It takes probably 10-20 seconds to be able to select a new page layout. Applying the layout is very quick.
    I have upgraded my PC from a 2.6GHz Core 2 Duo with 4 GB DDR2 RAM to an I5-4670 with 16 GB DDR3 RAM and not seen much improvement in either area. In both configurations I used an SSD for the application and catalog. The photos are stored on a NAS but this has not shown any performance issues in browsing/editing photos. A review of Task Manager's CPU and RAM loading during these operations does not indicate the CPU or RAM is maxed out. I've never seen the RAM go above ~7 GB used and CPU loading (average across all 4 cores) is usually less than 50%.
    Generally the upgraded PC is showing a significant improvement in Lightroom's performance but these two areas are still painfully slow.
    Is anyone else experiencing these issues or have any ideas on what I can do to try and improve its performance??
    Thanks,
    Brett

    Hi Brett,
    I got the same issue and I am very frustrated about it.
    Its the same thing I experienced in Lightroom 4 and its still not fixed. I cant use the book module because of that. So BLURB is not getting my money. :-(
    I am waiting for that fix since more than a year, but Adobe says its a Problem which appears only for a small group of users.
    HA HA just do a Google search!!!
    System:
    Lenovo W520
    Win 7 64Bit
    i7-2760 @ 2.4 GHz
    20 GB Ram
    1st HDD SSD 256GB         --> Catalog
    2nd HDD HGST 1.5TB        -->Pictures
    Nvidia Quadro 2000m

  • Contribute Publishing Services and Windows Server 2008

    Has anybody been able to install Contribute Publishing Services 1.11 on a 32-bit Windows Server 2008?  Any information would be greatly appreciated.

    I was able to get it "installed" by copying a previous installation from Windows Server 2003 to Windows Server 2008. Got a blog post about it here:
    http://onceuponans.blogspot.com/2009/04/installing-contribute-publishing.html
    I think our next rev of the website probably won't use Contribute any more. Too bad, really - I rather liked it.
    -Andy

  • Basic questions about PL/SQL web services and datasource names

    Hi there,
    I successfully generated a web service for a PL/SQL packaged procedure in JDeveloper 11.1.1.3.0).
    In the web service base class the following code was generated:
    __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");However in the weblogic server the datasource name is jdbc/somethingelse so the deployment fails at first.
    What is the recommended procedure to solve this issue? The obvious solution is to manually edit the source -- that is what I did and it worked fine. However if I re-generate the web service I will lose my change. Is there a better way to do this?
    Another question -- in the generated web.xml file, there is a resource-ref for the datasource. I was hoping that changing the datasource name there would help but it didn't work. What is it used for in this context?
    Thanks
    Luis

    Hi Vishal,
    I did as you suggested but it didn't work... see below more details.
    Thanks
    Luis
    1 - I re-generated the web service from the PL/SQL package. The constructor in CFBTestWSBase class looks likes this:
    public CFBTestWSBase() throws SQLException
      {  try {
    javax.naming.InitialContext __initCtx = new javax.naming.InitialContext();
    __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/custfeedbackDS");
    } catch (Exception __jndie) {
    throw new java.sql.SQLException("Error looking up <java:comp/env/jdbc/custfeedbackDS>: " + __jndie.getMessage());
    }2 - I added the following section to weblogic.xml:
      <resource-description>
        <res-ref-name>comp/env/jdbc/custfeedbackDS</res-ref-name>
        <jndi-name>jdbc/DataSource</jndi-name>
      </resource-description>3 - I got the following error when during deployment to weblogic server:
    [HTTP:101216]Servlet: "CFBTestWSPort" failed to preload on startup in Web application: "CustFeedbackTestWS.war".
    java.sql.SQLException: Error looking up <java:comp/env/jdbc/custfeedbackDS>: While trying to look up comp/env/jdbc/custfeedbackDS in /app/webapp/CustFeedbackTestWS.war/346617503.
    at cfbtestws.CFBTestWSBase.<init>(CFBTestWSBase.java:33)
    at cfbtestws.CFBTestWSUser.<init>(CFBTestWSUser.java:11)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    ...

  • Native Web Services and Collection of Records

    Hi
    I want to use XMLDB Native Web Services but one of my requirements is for the web service to pass in to Oracle a collection of records as a input parameter to the stored procedure.
    What is the best way to achieve this with Native Web Services ? A couple of options I can think of below, are there any others ?
    1. Create a stored procedure with an IN parameter defined as CLOB or XMLTYPE (which is best, does DBNWS work with XMLTYPE ?) and structure the XSD/XML to contain the required record structure. See below
    CREATE OR REPLACE PROCEDURE test_using_xml (
    p_xmlin IN XMLTYPE,
    p_xmlout OUT XMLTYPE) AS
    BEGIN
    BLAH, BLAH, BLAH;
    END;
    2. Define TYPES as below
    CREATE OR REPLACE TYPE MEMBER_REC AS OBJECT
    (FIRST_NAME VARCHAR2(10),
    LAST_NAME VARCHAR2(10));
    CREATE OR REPLACE TYPE MEMBER_TAB AS TABLE OF MEMBER_REC;
    CREATE OR REPLACE TYPE MEMBER_TAB_OBJ AS OBJECT (DUMMY MEMBER_TAB);
    CREATE OR REPLACE PROCEDURE get_quote (
    p_members IN MEMBER_TAB_OBJ) AS
    BEGIN
    NULL;
    END;
    Thanks

    This is what we ended up using, creating complex object types. Seems to work quite well. The object also is effective your SOA Contract which is quite nice.
    The generated WSDL is reasonably straight forward and logical apart from a few naming quirks.
    CREATE OR REPLACE TYPE MEMBER_REC_IN AS OBJECT
    (PERSON_NUMBER CHAR(2),
    RELATIONSHIP_CODE CHAR(1),
    FIRST_NAME VARCHAR2(10),
    LAST_NAME VARCHAR2(10),
    GENDER CHAR(1),
    DATE_OF_BIRTH DATE);
    CREATE OR REPLACE TYPE MEMBER_REC_OUT AS OBJECT
    (PERSON_NUMBER CHAR(2),
    API NUMBER);
    CREATE OR REPLACE TYPE MEMBER_TAB_IN AS TABLE OF MEMBER_REC_IN;
    CREATE OR REPLACE TYPE MEMBER_TAB_OUT AS TABLE OF MEMBER_REC_OUT;
    CREATE OR REPLACE TYPE GET_QUOTE_SUBMIT_OBJ AS OBJECT (MESSAGE_GUID VARCHAR2(2000),
    EFFECTIVE_DATE DATE,
    PRODUCT_CODE VARCHAR2(12),
    GROUP_ID VARCHAR2(12),
    ADDRESS_LINE1 VARCHAR2(50),
    ADDRESS_LINE2 VARCHAR2(50),
    CITY VARCHAR2(50),
    COUNTRY VARCHAR2(50),
    POSTCODE VARCHAR2(10),
    FAMILY MEMBER_TAB_IN);
    CREATE OR REPLACE TYPE GET_QUOTE_RESPONSE_OBJ AS OBJECT (MESSAGE_GUID VARCHAR2(2000),
    QUOTE_NUMBER NUMBER,
    API NUMBER,
    FAMILY MEMBER_TAB_OUT,
    RESULT_CODE NUMBER,
    RESULT_DESCRIPTION VARCHAR2(2000));
    CREATE OR REPLACE PROCEDURE get_quote (
    p_quote_in IN GET_QUOTE_SUBMIT_OBJ,
    p_quote_out OUT GET_QUOTE_RESPONSE_OBJ) AS
    BEGIN
    -- Initiliase the record
    p_quote_out := GET_QUOTE_RESPONSE_OBJ(NULL,NULL,NULL,MEMBER_TAB_OUT(),NULL,NULL);
    p_quote_out.message_guid := p_quote_in.message_guid;
    p_quote_out.quote_number := 123456;
    p_quote_out.api := 999.99;
    -- Loop thru the members passed in
    FOR idx IN 1..p_quote_in.family.count LOOP
    -- Extend the array
    p_quote_out.family.EXTEND(1);
    -- Initiliase the record
    p_quote_out.family(idx) := MEMBER_REC_OUT(NULL,NULL);
    p_quote_out.family(idx).person_number := p_quote_in.family(idx).person_number;
    p_quote_out.family(idx).api := idx * 100;
    END LOOP;
    p_quote_out.result_code := 0;
    p_quote_out.result_description := 'test';
    END;
    /

  • Containers paths and collections names

    Hi,
    i have two questions (running the shell ./dbxml):
    a) when i open a container, eg /path/to/my/container.dbxml (a container which is not in my default DB environment)
    with the command "openContainer /path/to/my/container.dbxml",
    how do i perform an xquery then?
    because if i try "query 'collection("/path/to/my/container.dbxml")/*' ",
    i get the error:
    stdin:8: query failed, Error: Cannot resolve container: /path/to/my/container.dbxml. Container not open and auto-open is not enabled. Container may not exist.
    But my container does exist!
    (i dont want to use aliases)
    b) how do we get document names within a collection?
    Thanks.

    a) why don't you just use "collection()" when you opened a container? You don't have to provide a path to it once you've opened it
    b) collection()/dbxml:metadata('dbxml:name')
    Vyacheslav

  • Determining service name and operation name in handler

    Hello.
    Is there a way to determine the name of the web service and the name of operation being invoked from inside the JAX-RPC handler class?
    By the name of the web service I mean the name that was used in its deployment descriptor file.
    With axis, I was able to determine service name using 'MessageContext.getTargetService()' and 'MessageContext.getOperation()' .
    are there similar ones in weblogic?

    Using Weblogic v8.1 I was also able to get the port and operation via DefaultMessageContext. However, this no longer works on WebLogic v9.0.
    Any idea how to do this in v9? I think I have the Operation Name by using another undocumented API:
    weblogic.wsee.ws.server.OperationName (it's a property in the MessageContext). There's also an EndpointReference class that has 'portName' and 'serviceName' but for my server these are always null??
    Any ideas?

  • Using a Publish Service for print service prep

    I'm just starting to work out a new way to prepare images for sending to a (consumer grade!) print service using a Publish service, and realized I should harness the power of this corner of the Lightroom community to see if my ideas are sound. Feel free to add comments or suggestions.
    Here's what I'm doing:
    - For each size and processing option (e.g., 5x7, Matte) create a hard drive Publish Service.
    Set options appropriately, such as:
    - Filename for clarity. I use custom name + orig file number. (There appears to be a small display bug, in that the example displayed will show the " dng.jpg")
    - Given what I've learned about Lr and JPEG compression, I reduce the quality to 80% or so for a nice quality/size balance. I don't want to have to muck with this too much.
    - My service does not have an ICC profile for me to use, but assure me that AdobeRGB is accepted by their equipment.  So that's what I'll use. (One day I'll try out a pro service that understands that a simple thing like an ICC profile makes us feel warm and fuzzy.)
    - Resizing to fit. I set to never enlarge (though it should never happen that I have to enlarge) and set the dimensions to whatever I need for this service: 5x7, 4x6 &etc. Hints on optimal dimensions for getting nice borderless prints of a certain size accepted! I know that not all dimensions are created equal.
    - I'll assume that the default resolution is fine, but I ought to do my research for when to modify this when I get into 8x10 or larger formats.
    - Sharpening for print and paper type for this publish service.
    - My service has no reasonable file size limitations, so I just let the exported files get created at any size.
    - I minimize keywords.  Makes much smaller files because who needs keywords in prints? I have Metadata Wrangler, so I might insert that and have it leave in the minimal set of MD, like ICC profile and copyright info.
    So, given this, I can process my images as usual, make a number of crops (just to be a perfectionist) and then drag them to appropriate service where they end up in a hierarchy of folders ready for uploading.
    What am I missing?
    BTW, I'm not using the Print module because it was too tweaky trying to get it to make JPEGs that would print borderless.  Feel free to set me straight on that if you like.

    You only get one opportunity to set up the hard drive under publish and the folder cannot be changed unless you get a plug-in to provide a work around.
    However you could just create a generic publish folder - something like Photo Lab, or Print Job.
    But you could then right click on your publish folder and select “make target collection” - you will see the plus sign added.
    Simply highlight the photos you want to print and press B (the same as adding to a quick collection) and your Publish Services folder on your hard drive will be populated with the exports.
    The real problem is that you would need to edit the publish settings every time you required different dimensions etc (not sure possible). I use a similar system, which works well and I like how I can see what has already been published and what is still to be published but my prints are always the same size and resolution.
     

  • Broken publish service for Flickr

    Hi,
    I tried to publish a set of photos on Flickr when something went wrong in LR 4.1 (on Win 7-64). 3 shots were uploaded successfully when LR suddently claimed that: "Can't upload this collection. Could not connect to the Flickr web service. Please check your internet connection." My Interent connection is fine and I can browse Flickr normally. I can also go into the publish service and re-authenticate my Flickr-account successfully. But the problem persists. I can create a new publish service for Flickr and that one works fine.
    So the settings for my first Flickr publish service seems to be broken somehow.
    1. Does someone know how to fix the broken publish service?
    2. Is there a way to move my shots in the broken publish service to the new one without breaking the link between the shot and the copy on Flickr?
    Thanks,
    Mike

    It's a bug http://feedback.photoshop.com/photoshop_family/topics/lightroom_4_1_rc2_a_cr_or_lf_n_the_m iddle_of_a_caption_causes_failure_to_connect_to_flickr
    You can vote to force adobe to resolv it.
    Maybe yoy have a cariage return in caption.
    Stéphane

  • Issue with web publisher services

    hello,
    i try to use the bi publisher services and in particulary SecurityService(Jdeveloper 11.1.2.0.0 and publisher 11.1.1.5) .
    the security model is setting on Bi publisher security.
    i use the http://bipconsulting.blogspot.com/2010/04/how-to-use-bi-publisher-web-service.html for help
    when i run this code
    package com.oracle.xmlns.oxp.service.v2;
    import java.net.URL;
    import java.util.ArrayList;
    import java.util.List;
    import javax.xml.namespace.QName;
    // This source file is generated by Oracle tools.
    // Contents may be subject to change.
    // For reporting problems, use the following:
    // Generated by Oracle JDeveloper 11g Release 2 11.1.2.0.0.6017
    public class SecurityServiceClient
    public static void main(String [] args)
    try {
    SecurityService_Service securityService_Service = new SecurityService_Service();
    SecurityService securityService = securityService_Service.getSecurityService();
    String sess_id=securityService.login( "Administrator", "password");
    System.out.println(sess_id);
    securityService.createUser("jean", "jean", "Administrator", "password");
    } catch (Exception ade_e) {
    System.out.println(ade_e);
    i have the following output
    3447993075936D60EEF980C3472AC415
    javax.xml.ws.soap.SOAPFaultException: java.lang.SecurityException: Security violation: /~jean; administrator does not have permission to create this folder.
    Process exited with exit code 0.
    If someone can help me,it would be great.
    best regards
    jean marc

    i try with soapui for the method createuser,
    i have the same issue.
    any help ?

  • Publish Services Problem

    I tried to install the new 500px plugin and now none of my Publish Services will work. I get an error message "An internal error has occurred: ?:0 attempt to index field 'exportSettings' (a nil value)" when I try to access the publish services. In Library Module, Publish Services asks to set up each services that used to work but the Plug In Manager says it is enabled and running. I have tried to disable all publish services and bring them back one by one but that did not work. Same error message and I have lost the Facebook Publish Service altogether. What can I do further? Lightroom 5.7, Windows 7

    That's what happened to me. Did you get any answer from the Adobe "support"?

Maybe you are looking for

  • What is the best way to verify default heap size in Java

    Hi All, What is the best way to verify default heap size in Java ? does it vary over JVM to JVM . I was reading this article http://javarevisited.blogspot.sg/2011/05/java-heap-space-memory-size-jvm.html , and it says default size is 128 MB but When I

  • Slow reloading issue with Safari 5.1.2/Mac OS X 10.6.8

    Hello, I am using Safari 5.1.2 on Mac OS X 10.6.8.   I encountered 2 serious problems: 1. some web pages load real slow as slow as taking more than 2 minutes.  This behavor seems related to Javascript enabling.  If I go to preference/security to unch

  • Stanford's - Karel The Robot & Checkerboard Problem

    I am doing the free online class from Stanford CS106A. As you may know in assignment 1 there is the task of causing Karel to place 'beepers' across a world in a checkerboard pattern. It should run in any size world. Here is the link: [Stanford CS 106

  • Storage issue , hidden MOVY files ... am stuck

    My Mac mini has 11 GB free from 500 (I have been trashing as much as I can) About/Storage says Movies 286GB Photo 162 Other 29 Aps 7.5 Audio 815 Backups 3.6 I have emptied my iPhoto trash bin My iPhoto Library files are large (I have 2 , which I plan

  • Changing datasources

    Hi Team, I have a wierd issue. I have reports with multiple groups. In all the reports, one of the groups is a formula for dynamic sorting based on the user input. So far, everything works fine. Now, the issue is as below. 1. I've ran the report from