Different Export / Publish Dialog for combined Export/Publish Service Provider

Hi,
I'm writing a Export/Publish Service Provider that supports Publish and Export (supportsIncrementalPublish= true). So, there is only on sectionsForBottomOfDialog() which is used for both Export and Publish. This is nice since most of the setting options should obviously be identical for Export and Publish. A few settings though are only required by the Publish Provider. To keep the Export dialog as simple as possible I would like to hide the Publish specific settings when called via "Export".
Is there a way to identify whether the dialog was opened via "Publish" or "Export" so that I could hide some of the elements in the first case?
Martin

Excellent! Totally right! Here's what I found on p.70:
          LR_isExportForPublish Boolean, read-only.
         True when the current export operation is part of a publish service, either currently running or being edited in the Publishing Manager.
RTFM!!
Exactly, what I was looking for!
Thanks for opening my eyes...
:-) Martin

Similar Messages

  • Lr Publish Service Provider: trigger by photos being moved within the local folder structure?

    Hi folks,
    I recently finalized my first Lr Export plugin and currently I'm working on the Publish Service Provider enhancements for that Export plugin. So far, everything works as expected except one thing::
    The publish service provider supports mirroring of local directory structures to the publish destination. So, I am interested in photos being moved from one local directory to a different one, since I have to propagate this change to the destination. Lr informs me whenever a photo/video is changed (acc. to my settings in  publishServiceProvider.metadataThatTriggersRepublish()) or deleted, but what about the fact that a photo was moved from local directory a to b?
    Any chance to register a trigger for a photo movement?
    Martin

    That's an interesting approach, never thought that way round!
    It might not be suitable as a general prodedure for every single normal "Publish" action, because if you have e.g. 10 pictures with status "to be re-published" in a collection of  20.000 pics or more you wouldn't expect the Publish plugin to re-check all photo locations. That would make the publish process unacceptable lame and annoy the people.
    But if I define it as a publish option ("check for moved photos only"),  this would be way to "automatically" find and mark moved photos for "to be re-published".
    Well, not exactly what I was hoping for, but a reasonable second best approach.
    Thanks!
    Martin

  • For 3 rd pary service provider - what material type could be used??

    I am a third pary service provider warehouse. I receive materials from different customers in loose units . After receiving i palletize the material the material. Since i do not have any idea what materials i receive i am planning to use material type nonvaluated but stock material. I do not know how far it will satisfy my requirement.Any suggestion or ideas .....

    Hello,
      You are procuring the materials, palletizing the same & selling it across. In such cases, you can maintain the material type as HAWA(Trading Goods).
    But before changing the materilal type to HAWA from UNBW, kindly ensure that you have to close all the open orders for the material type UNBW.
    Hope these inputs will satisfy your requirements.
    Regards
    Mahesh

  • Different versions of JDeveloper for client and web service

    Hi,
    Here is a tricky question: I've created a web service using JDeveloper 10.1.3.3 and I want to generate a client from the corresponding wsdl. The thing is however that the client will reside on Oracle Application Server 10.1.3.0 so I have to generate it from JDev 10.1.3.0.
    I first tested to generate a client in JDev 10.1.3.3 and it worked fine sending messages from my local machine. But then I tried to generate a web service proxy in JDev 10.1.3.0 and in the last step when pressing the finish-button I get the following error:
    "Proxy generation failed for the following reason:"
    oracle.j2ee.ws.common.tools.api.WsdlValidationException: Error reading import of file:/C:/Program Files/JDeveloper/JDev10130/jdevstudio1013/jdev/mywork/Test/XXOGL_F59_HBOPreCheckProxy/public_html/XXOGL_B08_HBOPreCheck/XXOGL_B08_HBOPreCheck.wsdl: Invalid URL or file: properties.wsdl: Illegal character in path at index 16: file:/C:/Program Files/JDeveloper/JDev10130/jdevstudio1013/jdev/mywork/Test/XXOGL_F59_HBOPreCheckProxy/public_html/XXOGL_B08_HBOPreCheck/XXOGL_B08_HBOPreCheck.wsdl
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:172)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:167)
         at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
         at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:95)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createProxy(WsdlToJavaTool.java:354)
         at oracle.j2ee.ws.tools.wsa.Util.createProxy(Util.java:838)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.doGeneration(ProxyGenerator.java:549)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.generateImpl(ProxyGenerator.java:365)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.mav$generateImpl(ProxyGenerator.java)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator$1ThrowingRunnable.run(ProxyGenerator.java:206)
         at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    The properties.wsdl and XXOGL_B08_HBOPreCheck.wsdl are in the correct directory. The XXOGL_B08_HBOPreCheck.wsdl contains the following row about the properties-file:
    <import namespace="http://xmlns.oracle.com/XXOGL_B08_HBOPreCheck/correlationset" location="properties.wsdl"/>
    Why is it complaining??
    Thanks for your help!

    Try another folder than file:/c:/program files/....
    Illegal character in path index 16 ->
    The whitespace is the problem...
    You need a path without spaces...

  • Defaulting the Service Provider for the receipts pulled from credit card

    Hi,
    When the Associate goes on a business trip , some of the expenses are processed through the AMEX corporate credit card. Using a custom PRCC , these credit card transactions are uploaded into the system and are available as buffer during the trip creation. Associates creates the trip using ESS Portal. When the Associate selects the expense from the credit card buffer , we want the Service Provider to be defaulted to AX (AMEX). The service provider code for AMEX is configured as AX.
    In the following configuration (Travel Expenses->Master Data->Credit Card Clearing->Define Assignment Table for Credit Card Clearing , we updated the Service Provider as AX for all the expense types related to AMEX.
    Now we notice that AX is not defaulted in the Service Provider when the Associates pulls the expense from the AMEX credit card buffer.
    Is there a way to default the service provider for all the expenses pulled from the credit card buffer?
    Thanks
    Sukumar

    Hi Nandagopal,
    You are right that the origin column has Amex logo when selected from the Buffer. We are using Service provider in determining who the payment should go to. If the expense is from the credit card buffer , the payment should go to AMEX directly. If the expense is non-AMEX (i.e manual entry and not from buffer) , then the payment will go to the employee themselves. Different wage types are determined based on the Service Provider for the same expense type. For example for expense type ACAR (Rental) , if the Service Provider is AX , then wage type say WJ67 is selected by the system . For expense type ACAR and no Service provider , then wage type WJ17 is derived. The accounting is determined based on the wage type.
    So Service Provider is one of the key field that determines the accounting. When the associate selects from credit card buffer , the associate should also select the service provider as AX so that payment goes to AMEX. If the Associate forgets to select the service provider , then the payment goes to the Employee. Then the employee has to pay AMEX separately. In order to avoid this, we want to default the service provider as AX when the associate pulls from the credit card buffer.
    We maintained the default service provider as AX for AMEX credit card clearing in img node Travel Expenses->Master Data->Credit Card Clearing->Define Assignment Table for Credit Card clearing. In this node we link the credit card company transaction keys to SAP expense type and you have the option to select the Service Provider. But his default is not working in Portal.
    Please let me know if this default setting should work.
    Thanks
    Sukumar

  • Changing Export Location when using Publish Services to Hard Drive?

    Hi,
    I am aware that typically when using publish services it is not possible to change the export location once it has been set. This has put me in a very precarious situation; let me explain.
    I work for a distribution company that sells 15+ product lines. For almost every product, they have a photograph. I was asked to set up a system whereby a number of sales representatives could access these photographs in an organized fashion from their own computers. This is how I have set things up: A media computer (backed up onto an external hard drive) has all the raw files. In lightroom I have set up two publish services to hard drive. The export location for these two publish services was an external drive that was accessible throughout the company network. Unfortunately, while I was gone, the external drive was changed over to a cloud-based system. As such, the export location for my publish services no longer exists.
    Of course, I could go and re-create the publish services, but unfortunately that would be an incredibly laborious process because each publish service has 10 or so sets with 2-4 levels of folders amounting to several hundred folders that would need to be re-created. Moreover, because of the complexity of the system, I made them all smart-folders with specified attributes, etc. So re-creating all these folders would take a whole lot of time and could literally drive a guy crazy (I would know, I set the thing up and it did almost drive me crazy!)
    So, I was wondering if there is any lightroom wiz out there who knows a work-around for my issue.
    Now, I did do some digging already and I came across this article: http://blog.27shutterclicks.com/2012/03/how-to-change-the-publish-service-export-location- in-lightroom-3-4/    which outlines a method for changing the export location! However, as far as I can tell, I would still have to change the export location of each folder manually, which would basically be just as complex and confusing as recreating the publish service anyways. Am I correct in this thinking, or using this method is there a "root" folder than I can change, which will change every other folder?
    Hopefully I have outlined this clearly enough. I will really appreciate any response! Thanks and have a good day.
    -M

    MichaelKuby wrote:
    I am aware that typically when using publish services it is not possible to change the export location once it has been set. This has put me in a very precarious situation; let me explain.
    Yes, it is not possible to change the export location for a Publish service.
    But it is possible to set up another Publish Service with a different location.
    Under <Publish Services> right-click the header bar where it says "Hard Drive: .... " and select <Create Another Publish Service via Hard Drive>.
    See screen shot:
    In the editor that comes up select the "cloud" as location.

  • Keep sortorder when exporting using Publish Services

    When publishing to my harddrive I'm using a published folder set as the container and several published folders holding the different galleries. When choosing Publish on the individual published folders my personal sort order is kept intact. When doing the same on the published folder set the sort order of the individual folders is changed.
    The problem has existed since Version 3.0.
    PS: Because I'm using the German language version of Lightroom 3.3 (final) I did my best to find the correct english names ...

    MichaelKuby wrote:
    I am aware that typically when using publish services it is not possible to change the export location once it has been set. This has put me in a very precarious situation; let me explain.
    Yes, it is not possible to change the export location for a Publish service.
    But it is possible to set up another Publish Service with a different location.
    Under <Publish Services> right-click the header bar where it says "Hard Drive: .... " and select <Create Another Publish Service via Hard Drive>.
    See screen shot:
    In the editor that comes up select the "cloud" as location.

  • LR5 Publish Services does not honour 'Reload plug-in on every export'

    I am developing a custom export plug-in for adding backdrops and border to exported images.
    If I tick the 'Reload plug-in on every export' box then any changes I make to the plugin code get reloaded if I do a normal 'Export' from Lightroom 5.
    However if I use Publish Services to export the images it does not honour the 'Reload' checkbox and the old plugin code gets used.

    Hi, assuming your are referring to Jeffrey Freidl then can I just say that his plug-ins add so much more flexibility to any that might already exist in LR and I think he only expects the minimum set by Paypal as the minimum donation.
    You can try them for a number of days before deciding to donate.
    I did and I wouldn't be without them.

  • 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.
     

  • Using Lightroom publish service for either Flickr or SmugMug. I have many images with a keyword Madd

    Using Lightroom publish service for either Flickr or SmugMug. I have many images with a keyword Maddy. This frequently doesn't show up in SmugMug or Flickr. All my other keywords seem to work fine. Anybody experience anything like this?

    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.
     

  • Static text in textfields renders differently when published in CS4/CS5

    Hi
    I am experiencing an issue where legacy files I created in Flash CS4 look different when published in CS5. Fonts are rendered differently. I have noticed it so far on DIN and Goudy Modern. The output when published in is CS5 is markedly different than the output when published in CS4.
    Can anyone offer any pointers on how to think about, deal with, avoid etc.
    Many thanks.
    Mike
    UPDATE
    A little more logic to add.
    It seems to be opening the file in CS5 changes the fonts somehow. CS4 files that I have not opened in CS5 publish as I would expect in CS4. CS4 files that I have opened in CS5 publish differently whether then published in CS5 or CS4. On Goudy for example. In CS5 adding .5 to the character spacing and 3.5 (not 2) to the line spacing makes the font render similarly in CS5 as it did in CS4 at 0 character spacing and 2 on the line height.

    Yes. It's static. I recreated the text and now it works. Weird.
    Thank you for your reply and time.

  • Graphics look different after publishing

    I am creating a new site and after publishing, the TIF images I use change color. I change the background color of the image which looks fine on iweb but different when published.
    Any ideas on what I'm doing wrong?
    Thanks for your advice in advance.

    Phil:
    I see all red links and only one has a mouse over action which is a green underline. Actually there are two that are just white text and not linked. You might try using the Publish all to .Mac menu option to force a rebuild of all the pages. That might do it.
    OT

  • HT3130 trying to export a 4 minute video to desktop.  Only 1:08 seconds exports.  I've tried other clips and they all cut at 1:08.  Used different exports like Quicktime with the same results.

    trying to export a 4 minute video to desktop.  Only 1:08 seconds exports.  I've tried other clips and they all cut at 1:08.  Used different exports like Quicktime with the same results.

    Good to hear that you've had some success with the import.
    I tried 3 times to do it before I finally changed it to H.264, and it worked on the first try.  The quality of the compression was terrible with those settings compared to my standard settings, but I'm just glad it worked.
    Rather than Share>Export using QuickTime and then choosing your own settings for H.264, you may get a better result if you simply use the Share>Export Movie option. Alternatively, use the Share>Media Browser option (as I mentioned in my earlier post). You will be presented with a range of sizes to choose from. Depending on your target, it's usually best to select the highest size available, such as Large, HD 720p or HD 1080p. However, for producing a DVD it's best to not go beyond the HD 720p size, as the DVD will be downscaled during encoding to Standard Definition in the appropriate size for either PAL or NTSC.
    In my experience, both these options (Export Movie or Media Browser) produce a video file of excellent quality. The files will be in H.264 format and will have the file extension .mov or .m4v depending on the size of the export. I'm assuming that your camera records HD video in AVCHD format.
    These files work well with iDVD (or other DVD authoring programs). The export process for the presets is optimised by Apple to produce high quality video files at a reasonable file size. So, selecting a preset may give you a much better result. Choosing your own H.264 settings when using the "Export using QuickTime" method could be why "the compression was terrible". You may have selected a data (bit) rate that was too low. There is always a trade-off between quality and file size when compressing video.
    So, to summarise, try one of the Apple presets using either Share>Export Movie or Share>Media Browser.
    John

  • In f110, the DMEs for different payment documents have been combined

    Hi,
    In f110, the DMEs for different payment documents have been combined.
    Two DMEs are created but they are not in separate lines.
    Kindly help.
    Thanks

    Contd ....
    Example 2 -  the following is an example of multiple payment documents against each invoice
    FH 13062008T1.001 13/06/2008 14:22:27 #
    H 10000002 13/06/2008 HSP04 NEFT-S 002-434132-908 INR INR ABNBK A.B.ENTERPRISE 999999
    L 10000002 13/06/2008 HSP04 NEFT-S 1900007628 NM             4000.00           4000.00
    H 20000003 13/06/2008 HSP04 TRFR-S 002-434132-908 INR INR ABNBK A.B.ENTERPRISE 999999
    L 20000003 13/06/2008 HSP04 TRFR-S 1900007629 NM             5000.00           5000.00
    H 30000003 13/06/2008 HSP04 RTGS-S 002-434132-908 INR INR ABNBK A.B.ENTERPRISE 999999
    L 30000003 13/06/2008 HSP04 RTGS-S 1900007630 NM             6000.00           6000.00
    Z ZOF #                                                                               
    Example 3 - This is one payment document against multiple invoices
    FH 14032008.001 14/03/2008 10:11:49 #
    H 700013 14/03/2008 HSP01 TRFR 072020779001 INR INR HSP01 Srinivas 464646 154   Ba
    L 700013 14/03/2008 HSP01 TRFR 0100000836 NM           200000.00         200000.00
    L 700013 14/03/2008 HSP01 TRFR 0100082351 NM              100.00            100.00
    L 700013 14/03/2008 HSP01 TRFR 1900106433 NM            10000.00          10000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106552 NM            25000.00          25000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106613 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106617 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106620 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106621 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106622 NM            12000.00          12000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106677 NM            50000.00          50000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106701 NM             1000.00           1000.00
    Z ZOF #                                                                               
    Hope this helps.
    Thanks and Regards,
    Anit
    Edited by: Anit Mangat on Aug 6, 2009 11:41 AM

  • Utilizing different exchange rate type for same currency combination

    Hello Gurus,
    I wanted to get your opinion/experience in handling the following scenario.
    We have company codes in different countries operating using different local currencies. There is alternate exchange rate type  EURX defined for Exchange rate type M for many currency combinations due to business requirements. One country with local currency EUR is utilizing EURX SEK - EUR exchange rate combination.
    Other country with local currency HUF is making use of exchange rate type MNB as an alternate exchange rate. In one of its transaction, where VAT is being calculated on its foreign transaction, HUF company is trying to seek rate of MNB SEK- EUR where country currency is SEK and document currency is EUR.
    But since on the 'translation ratios for currency translation' table EURX being the alternate currency for that particular combination, even when we set MNB SEK EUR exchange rate, the system is obviously picks up EURX rate.
    Has anyone come across similar scenario where different countries trying to get different exchange rate types for the same combination of currency? and If so, how would that be possibly handled through config or using something custom?
    Thanks all for your replies in advance.
    Regards,
    Sagar K.

    Hi Sagar,
    In tcode OBBS, if Alt.exchange rate is used for any currency pair, then that rate is used ( EURX in this case).
    All countries in EMU region uses EURX ( which is mostly fixed after introduction of EUR).
    If the company is in different countries in Europe, then mostly EUR is used as Alt. exchange rate. which uses EUR as reference currency.
    Ther is no country specific settings in std. sap for a currency pair.
    Cheers,

Maybe you are looking for