Rename Rule

Follow

See position for information about extracting from a position and insert for how to insert at a given position.

There are different types of Rename rules:

Delete Text
Delete text specified in position fields. If From or To field is a string and not a number this text is only deleted if "Delete text in From & To fields?" is checked. 

Insert Text
Inserts the text in Insert field into the filename at the position specied by At field. If At field is a text and not a number Insert Position specifies if text should be inserted to the left or right of the text in At field. 

Search & Replace
Replace first instance of text in Search field with text in Insert field, insert position determines if it is first instance from left or right. 

Search & Replace All
Replace all instances of text in Search field with text in Insert field. 

Append from original filename
Extract text from original filename (as it was before any rename rules were applied) and append to filename left of extension. 

Insert ProjectCode
See Insert ProjectCode Extract text from original filename (as it was before any rename rules were applied) and append to filename left of extension. 

Insert timestamp
You enter a code based on the syntax described below Extract text from original filename (as it was before any rename rules were applied) and append to filename left of extension. 

Insert stored data
Data extracted from XML in XML 2 WebProof action can be inserted here. You enter the same ID as was entered where data was stored. WebFlow uses itemcode and projectcode to find stored data 

Insert Counter
See Insert Counter 

CREO
Corrects page number with CREO code 

Check Project Code
If itemcode is in WebFlow DataBase the files current projectcode is replaced by the value from the database 

Insert from list
Use XPath (http://www.w3.org/TR/xpath) expression to lookup a value in a XML file WebFlow variables can be used. 

Insert subfolder name
Resuires that the source folder has recursive option turned on. Inserts name of subfolder at a given depth, eg. if the source folder is c:\inputfolder and a file is read from c:\inputfolder\level1\level2 then depth=1 returns level1 and depth=2 returns level2 

Set custom field length
If number of digits in custom field is less than given length, leading zeroes are inserted in pagenumber field. Only affects fields that evaluate to a number larger than zero.

 

 

 

 

Time Syntax

%a 

Abbreviated weekday name 

%A 

Full weekday name 

%b 

Abbreviated month name 

%B 

Full month name 

%c 

Date and time representation appropriate for locale 

%d 

Day of month as decimal number (01 – 31) 

%H 

Hour in 24-hour format (00 – 23) 

%I 

Hour in 12-hour format (01 – 12) 

%j 

Day of year as decimal number (001 – 366) 

%m 

Month as decimal number (01 – 12) 

%M 

Minute as decimal number (00 – 59) 

%p 

Current locale's A.M./P.M. indicator for 12-hour clock 

%S 

Second as decimal number (00 – 59) 

%U 

Week of year as decimal number, with Sunday as first day of week (00 – 53) 

%w 

Weekday as decimal number (0 – 6; Sunday is 0) 

%W 

Week of year as decimal number, with Monday as first day of week (00 – 53) 

%WW 

ISO standard week of year (ISO-8601) as decimal number, with Monday as first day of week (01 – 53) 

%x 

Date representation for current locale 

%X 

Time representation for current locale 

%y 

Year without century, as decimal number (00 – 99) 

%Y 

Year with century, as decimal number 

%z, %Z 

Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown 

%% 

Percent sign 

As in the printf function, the # flag may prefix any formatting code. In that case, the meaning of the format code is changed as follows.

Format code

Meaning

%#a, %#A, %#b, %#B, %#p, %#X, %#z, %#Z, %#%

# flag is ignored.

%#c

Long date and time representation, appropriate for current locale. For example: "Tuesday, March 14, 1995, 12:41:29".

%#x

Long date representation, appropriate to current locale. For example: "Tuesday, March 14, 1995".

%#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y, %#Y

Remove leading zeros (if any).

 

Have more questions? Submit a request

Comments

Powered by Zendesk