Oracle WebCenter Content (MOSC)

MOSC Banner

Unable to retrieve data on service htm page from a custom service

edited Jan 7, 2016 10:01AM in Oracle WebCenter Content (MOSC) 3 commentsAnswered

Hi There,

I need help in retrieve data from service data binder on an service htm page after executing the service.

I could able to execute the DOC_INFO service to fetch metadata of a dodument, but unable to retrieve the same from custom service.

Code to retrieve data by DOC_INFO is as follows:

<$executeService("DOC_INFO")$>

  <$firstNM = getValue("DOC_INFO","xfirstName")$>

  <$lastNM = getValue("DOC_INFO","xlastName")$>

<$adderessID= getValue("DOC_INFO","xaddID")$>

  ...........................

..................................

In the same way am executing custom Service SEARCH_ADDRESS:::

     <$executeService("SEARCH_ADDRESS")$>

  <$locality= getValue("SEARCH_ADDRESS","locality")$>
   <$city= getValue("SEARCH_ADDRESS","city")$>

In my custom service code I'm setting these variables in databinder  as

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