Oracle WebCenter Content (MOSC)

MOSC Banner

Oracle Webcentet Content | Can we use conditional idoc script statement for file store provider's we

edited Sep 18, 2015 10:01AM in Oracle WebCenter Content (MOSC) 1 commentAnswered

Hi,

My requirement is to have different web url for PDF and non PDF content.

For example : When there is PDF content then path will be

$FsHttpWebRoot$groups/$dSecurityGroup$/$dDocAccount$/documents/$dDocType$/$dDocName$$RenditionSpecifier$$RevisionLabel$$ExtensionSeparator$$dWebExtension$

When there a non PDF content then path should be

$FsHttpWebRoot$groups/$dSecurityGroup$/$dDocAccount$/documents/$dDocType$/$Year$/$Month$/$Day$/$dDocName$$RenditionSpecifier$$RevisionLabel$$ExtensionSeparator$$dWebExtension$

I would like to put if else condition and join above two statements like

$FsHttpWebRoot$groups/$dSecurityGroup$/$dDocAccount$/documents/$dDocType$$if $dWebExtension$ = pdf$/$else$/$Year$/$Month$/$Day$/$endif$$dDocName$$RenditionSpecifier$$RevisionLabel$$ExtensionSeparator$$dWebExtension$

But this is not working.I am not able to find any thing which will provide information to use conditional statement in weburl.file

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center