Jump to content

merski007

Registered Users - Approved
  • Posts

    27
  • Joined

Everything posted by merski007

  1. The method requires a record number and column name. Here is the method from the building blocks area: <ExternalDataFileEx>.GetFieldValue(Record, FieldNameOrNumber)
  2. Instead of using 2 columns in the text frame, try adding another table to the frame with that content. The text frame rules would look like this: <tableRule1> <tableRule2>
  3. Does anyone know how to grab the OS timestamp for an input file? We have a library of input files that are regularly updated and need to add the file timestamp to the output pdf. All the research I've done shows how to do this on a browser. I also didn't find any built-in Resource functions that could help with this.
  4. Hello, What are the bare minimum attribute requirements for using the Closeout web service? We are at the very beginning of setting up an order integration into our PrintStream software (EFI application) and are trying to get the flow working. Cheers, Mark
  5. Hello, Not sure if this will work inside DSF, but here is what we do locally to make jpegs: 1) On the compose tab, set the output form to HTML 2) On the output tab, set output type to HTML and specify jpeg dimensions under the options area. Attached are 2 images showing these steps. Hope this helps. composeImages.zip
  6. Hello, We are getting this error in our compose log when using the .fillColorName("") with an empty string: Named color "" not found in color dictionary. Here are the instructions from the building blocks: The name of the frame's fill color, or an empty string for no fill. Can be set in OnRecordStart. Can we ignore this error? Thanks, Mark
  7. Hello, Maybe a rule like this would work: var name= ''; if(firstName.length === 1){ name = firstName + '. ' + lastName; // depending on the data, you might need to strip away any character that's not a letter, and then add the period to the string. } else{ name = firstName; } return name;
  8. Hello, how many rows are they populating on the excel sheet? If they are only required to provide a single data value for each field, you could just use the form fields to gather the data. If that doesn't work, you can use the Variable product type that allows the user to upload a data file, but this will create individual PDFs for each record.
  9. Hello, Does anyone know if it's possible to inject an app on the homepage? I tried bootstrapping my module to a div on the homepage, but was unable too because of the 'masterApp' bound to the html tag. Just wondering if anyone has had success using angularJS in a PTI site. Cheers, Mark
  10. Wow! thanks for all that info. this is really helpful!
  11. Does anyone know if we can add the MarcomCentral output filename to the pdf? We would like to include this info in the bleed area of our output file. I found another post where Dan calls out these objects (http://forums.pti.com/showthread.php?p=20492#poststop): FusionPro.Composition.JobOptions.MCC_OrderNumber FusionPro.Composition.JobOptions.MCC_JobTicketNumber Both of these work wonderfully! I then tried 'FusionPro.Composition.JobOptions.MCC_OutputFile' to see if I would get lucky, but it did not work. I've also been looking for a list of options available for 'FusionPro.Composition.JobOptions'. When I type this out in FP nothing comes up for intellisense, so i'm out of luck there. running: Acrobat Pro v11 FP 10.0.26 Mac OS Sierra 10.12.6
  12. What does your current rule look like? Sounds like an if/else statement could accomplish this for you.
  13. You can set the opacity of the image box to 50% and allow the user to select the CMYK values per Dan's suggestion.
  14. Hello, Does anyone know if it is possible to name the output file for Marcom storefront orders? I know we can use OnNewOutputFile when composing locally, but that setting doesn't hold in Marcom. The files in Marcom are output with a somewhat random name. Ex. 032920181257104138_16131428_29606140_grcnjnzg.pdf
  15. Hello, Does anyone know if it is possible to have self registration set up with an approval? For example, a new user comes to the site and fills out the self registration form. They would then click a submit button to send the form to our client who could verify if this is a valid user. If approved, the user would be created in the system. We are currently using Google forms to accomplish, but want to see if this feature is supported. Cheers, Mark
  16. I figured out what I was doing wrong. All my functions were declared in OnJobStart via remotes js files. I had to declare the HIT_COLOR_CHOICE object array in OnRecordStart. Once i did that, everything works.
  17. Hello, I'm having an issue with the Preview not displaying correctly. The rule I'm using validates correctly, but breaks on preview. In a nutshell, here is the code for this function // declare variable color hits HIT_COLOR_BLACK = "black"; HIT_COLOR_WHITE = "white"; // create array of objects HIT_COLOR_CHOICE = {1: HIT_COLOR_BLACK, 2: HIT_COLOR_WHITE}; // retrieve items in desired color function getItem(item, colorNumber){ return '<color name=' + HIT_COLOR_CHOICE[colorNumber] + '>' + '<tracking newsize="6">' + item; } During positioning and proofing, we will switch the color hits globally, just to check our work. When I validate the rule with this function, the correct results appear: <color name=black><tracking newsize="6">pizza but the color does not come through on preview. The text will default to the color set in the text box. I have the 'Treat returned string as tagged text' box checked, so it's not that. If i hardcode the color value into the function, or use the variable name itself, the rule works. This would just cause a lot of work on my end to create a function for each color i have. All help is appreciated. Here are system details: FP: 9.3.36 OS: Mac OS 10.12.6 Acrobat 11 Cheers, Mark
  18. Thanks Dan and Step, both worked great. Since I'm loading multiple JS files in the OnJobStart, I'm thinking it would be safer to use Step's method, since that calls the rule and all files will be loaded. We are just diving into the external JS file callout methods and so far they have been a big help. We do a ton menu products that share the same rules, so this is becoming a real lifesaver on preventing us from writing duplicate code in each template. Thanks for the helps and have a Happy New Year!
  19. Hello, I'm using the Load() function in my OnJobStart to load an external JS file. I'm calling a function from that file in my OnRecordStart, and it works, but when I save/validate the OnRecordStart rule I get the attached error message. Does anyone know how to get rid of this error message? In case you can't see the image, it's a ReferenceError that states the function is not defined.
  20. add a counter variable to the globals area and throw an incrementer on it every time the scenario occurs. then create a callback rule of OnRecordEnd or OnJobEnd and add the FP function Print(). So maybe something like this: var counter; //global var counter++; //every time scenario occurs Print(counter); //this will add the text to the .msg file that is created during compose.
  21. Thanks Dan. I'll give that a try.
  22. Hello, Did engineering ever fix the bug? I'm having the same issue for a beer menu I'm working on. I need the ability to determine a final page count so I don't send blank pages to press. Cheers, Mark
  23. because of the urgency with our issue, we had to revert back to a FP beta patch version to resolve the issue (9.2.35). I doubt we could extract the .msg file at this point. We were able to confirm that templates using ver 9.3.36 in DSF will not hold absolute leading. FP support (Alex Marshall) had us check the 'Paragraph Menu > Global Settings > Leading Mode' and when we tested that it still did not work. I asked support for a link to download ver 9.3.6 as this version seems to work the best for both PTI and DSF. We use both systems and it can be troublesome when creating products in both environments. Especially because DSF lacks a ton of functionality when compared to PTI (for template products). cheers, mark
×
×
  • Create New...