Send me the workflow and the exact JDF you are using (Once something launches I am generally done with it so it would help to get the released JDF).
Thanks - I just tried it and sure enough it seems there's a bug with that variable (although other variables seems to be working ok).
Two things: Please submit to the hotline.
Also - as a workaround, Create the JDF with the stock name in both the ProductID and the DescriptiveName attributes.
Use the $FFwfJob.mediaDescription$ variable to add the stock name to the banner page.
Alright I'd try this. Does a similar workaround exist for $FFwfDoc.color$? You can test with JDF 3 or JDF 5 and should see the same issue.
JDF 3 for reference:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 Xerox Corporation. All rights reserved. -->
<JDF JobID="JobID-7955" JobPartID="JobPartID-7957" Type="Combined" Types="DigitalPrinting" Version="1.4" xmlns="http://www.CIP4.org/JDFSchema_1_1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FileSpec MimeType="application/pdf" URL="file:///C:/FreeFlow%20Core%20v4%20SDK/JMF%20Samples/Brochure%20-%20Low%20Res.pdf" />
<MediaRef rRef="M1" />
Media Attributes map to Stock Attributes:
@DescriptiveName - Stock Description
Unlike ProductID, DescriptiveName is not a unique identifier. Instead, it is another stock attribute
@Dimension - Stock Width and Height defined in points
@MediaColorName - Stock Color
@MediaType, @MediaTypeDetails, @MediaSetCount - Stock Type and Sequence
@MediaType: Paper; @MediaTypeDetails: Cardstock, ContinuousLong, ContinuousShort, Labels, MultiPartForm, Stationery, Postcard, <custom values>
Full Cut Tab Stock: @MediaType: Paper; @MediaTypeDetails: FullCutTabs
Pre Cut Tab Stock: @MediaType: Paper; @MediaTypeDetails: PreCutTabs, TabStock; @MediaSetCount: Sequence Number
Ordered Stock: @MediaType: Paper; @MediaTypeDetails: <custom value>; @MediaSetCount: Sequence Number
Transparencies: @MediaType: Transparency; remove @MediaTypeDetails
@Weight - Stock Weight
@Thickness - Stock Thickness defined in microns. 1 micron = .001mm
@FrontCoatings, @BackCoatings - Coating and Coating Type
One Side: @FrontCoatings; no @BackCoatings
Two Sides: @FrontCoatings; @BackCoatings
Values: None, Glossy, HighGloss, Semigloss, Satin, Matte
@Texture - Stock Finish
Valid Coating options: Uncoated, One Side
Value: Calendared, Smooth, Vellum, Uncalendared
Note: Values to map to printer-specific values based on the smoothness of the paper (e.g. Calendared will always be the smoothest value)
@GrainDirection - Stock Grain Direction
Value: XDirection (maps to Short), YDirection (maps to Long)
@HoleType: - Drilled Stock
@PrePrinted: - Preprinted Stock
Value: true, false
Note: @PrePrinted and @MediaType are mutually exclusive. The JDF should contain one or the other element but not both
@RecycledPercentage: - Recycled Stock
Value: 0 or attribute missing maps to not recycled, any other value maps to recycled
Note: @RecycledPercentage and @MediaType are mutually exclusive. The JDF should contain one or the other element but not both -->
<Media DescriptiveName="XeroxCXPlanet20_65C ! 17x11" Dimension="648.0 792.0" MediaColorName="Goldenrod" MediaType="Paper" MediaTypeDetails="PreCutTabs" MediaSetCount="5" Weight="90" Thickness="1000" FrontCoatings="Glossy" Texture="Calendared" GrainDirection="XDirection" HoleType="R3-generic" PrePrinted="true" RecycledPercentage="10" ID="M1" />
<CustomerInfo CustomerJobName="03 - Stock Attributes" ID="CI1" />
<Component Class="Quantity" ComponentType="FinalProduct" ID="C1" />
<RunListLink Usage="Input" rRef="R1" />
<LayoutPreparationParamsLink Usage="Input" rRef="LPP1" />
<CustomerInfoLink Usage="Input" rRef="CI1" />
<ComponentLink Usage="Output" rRef="C1" />
Color is working ok for me using the following text:
That explains it, $FFwfDoc.color$ is for the printing color mode (aka CMYK vs K Only printing). It is not related to the media.
One last thing - it seems this varaible was changed to $FFwfJob.mainStockName$
I missed that when I updated the documentation... (taking a note for the SP3 documentation)