Policy Automation for B2C Service

Get Involved. Join the Conversation.

Posts

  • Harriet Franklin
    Welcome to Policy Automation Cloud45.0
    Topic posted June 10, 2015 by Harriet FranklinBronze Medal: 1,250+ Points 
    Title:
    Welcome to Policy Automation Cloud
    Content:

    As you know, Oracle Policy Automation Cloud has been part of the Oracle Service Cloud Portfolio since February 2013. 

    Getting Started? - please check out this introductory Policy Automation Cloud Video to learn more

    Already a user?  - please find the link to the latest documentation  documentation link

     

     

  • Steven Robert
    Custom styling for container8
    Topic posted December 2, 2019 by Steven RobertRed Ribbon: 250+ Points 
    Title:
    Custom styling for container
    Summary:
    Is it possible to provide custom styling for a container?
    Content:

    Hi there

    Not sure if this is documented by exclusion, but I am trying to find a way to customise the appearance of a container via Styling Extensions (put a border around it, give it a heading)

    I *can* set css attributes for ".opa-container-vertical", but think that this is a non-standard method.


    Thanks

     

    Steven

    Version:
    19C
  • Scott Heidenreich
    Resize an uploaded image in a Form1
    Topic posted November 26, 2019 by Scott HeidenreichBronze Trophy: 5,000+ Points 
    Title:
    Resize an uploaded image in a Form
    Summary:
    How do I resize a photo that is coming from an OPA interview upload control into an RTF form?
    Content:

    Hello,

    I have successfully set up an OPA form to bring in an uploaded photo from an interview as the form generates the PDF. However, it is quite large.  How do I resize or limit the size of the photo in the form using BI Publisher Desktop?

    Thank you,

    Scot Heidenreich

    Version:
    19B
  • Scott Heidenreich
    OPA Mobile App function35.0
    Topic posted November 12, 2019 by Scott HeidenreichBronze Trophy: 5,000+ Points 
    Title:
    OPA Mobile App function
    Summary:
    Submit function isn't advancing to last screen
    Content:

    Hello,

    The OPA Mobile app doesn't seem to advance to the last screen in the interview (the one marked as always being shown) after the submit button is pressed, nor after syncing a completed interview and returning to look at it.

    Also, It seems like the model isn't reacting to information retrieved after submit, until a button is clicked.

    Is this a bug?

    Version:
    19B
  • Thiyag
    Standard Configuration List in OPA3
    Topic posted November 4, 2019 by ThiyagGold Medal: 3,500+ Points 
    Title:
    Standard Configuration List in OPA
    Summary:
    Standard Configuration List in OPA
    Content:

    Hi Folks,

    Can anyone share the list of standard tasks or configurations to be done on OPA?

     

    Thanks

    Thiyag

  • Annie Fisher
    How to create an entity instance programmatically2
    Topic posted October 31, 2019 by Annie FisherRed Ribbon: 250+ Points 
    Title:
    How to create an entity instance programmatically
    Content:

    Does anyone know how to create an entity instance programmatically?  Based on selection on a form I need instances of and entity created, the data of which will come from an AJAX call.

     

    I can see we can do CustomEntityCollect controls (see previous post) but this is not exactly what I want to do.  I just want to know the syntax for instance.add method, or whatever it is.

     

    I can see drilling into the interview object that there is a method called generateEntityInstance but there is not documentation anywhere on this, or any other way to add an entity instance via code.  It must be able to be done surely?

    Version:
    19B
  • Annie Fisher
    Does anyone have a working copy of CustomEntityCollect?
    Topic posted October 30, 2019 by Annie FisherRed Ribbon: 250+ Points 
    Title:
    Does anyone have a working copy of CustomEntityCollect?
    Summary:
    There is so little information on how to use CustomEntityCollect
    Content:

    Hi all,

    I can't find the life of me find an example of how to use the CustomEntityCollect extension.

     

    I have a need to manually create several entity instances in code after some actions happen on a form.  I know that I need to use the CustomEntityCollect extension to do this, along with the getRows and addRows function, however I am at a loss as to how this should be done, and where I set the values of my textboxes to the appropriate interview values.

     

    Does anyone have a really simple example I can follow?  The documentation does not seem to have anything I can use.

     

    Thanks,

    Annie

    Version:
    19B
  • Cosimo Galasso
    Create a new OPA site with the Configuration AssistantAnswered1
    Topic posted October 30, 2019 by Cosimo GalassoSilver Medal: 2,000+ Points 
    Title:
    Create a new OPA site with the Configuration Assistant
    Content:

    I'm in the process of creating a new OPA site using the Configuration Assistant. The new OPA site should be integrated with a just newly created OSvC Site.

    I have just created a new OSvC site with a specific site name: <osvc_sitename>.

    The main OSvC interface URL is based on the site name just given: <osvc_sitename>.custhelp.com

    When creating a new OPA site I'm asked again to provide the name of the OPA site, and consequently the URL.

    OPA site name: <opa_sitename>

    OPA URL: <opa_sitename>.custhelp.com

    Could you please confirm me the following:

    • The OPA site name must be different from the OSvC site name.
    • The OPA URL is the URL of the OPA Hub

    Once created do I have to manually integrate the newly created OSvC and OPA site?

     

    Thanks

    CG

  • Annie Fisher
    Is it bad practice to access...Answered2
    Topic posted October 28, 2019 by Annie FisherRed Ribbon: 250+ Points 
    Title:
    Is it bad practice to access control._source.config.listOptions ?
    Content:

    Hi all,

    I have a requirement that a list of values be retrieved via Ajax and pushed into a drop down list.  There are several ways I can do this but one way I've tried I like but not sure if its best practice.

    I have an attribute defined on my model as type Text.  I dropped the control for this on an interview screen as type Drop Down, with a customName property of "courseSearch".

    I set the default value for the drop down to "... loading ..".  Then I wrote some JS that looks like this:

    OraclePolicyAutomation.AddExtension({
    
    customInput: function (control, interview) {
    
    if (control.getProperty("customName") == "courseSearch"){
    
    
    var newOption = {
    
    displayText : "Option1",
    
    nodeDepth:1,
    
    rawDisplayText : "RawOption1",
    
    value: "1"
    
    };
    
    
    control._source.config.listOptions.push(newOption);
    
    }
    
    }
    
    })
    

    This works really well, and in practice I would iterate over an Ajax success object to populate the list.

    My question is - it doesn't feel like best practice to access

    control._source.config.listOptions
    

    directly (even though its just an array of objects).  Is there a better way to do this?  

    Thanks in advance..

    Annie

    Version:
    OPA ver 19B
    Code Snippet:
  • Cy Routh
    Javascript libraries not loading when embedded in div1
    Topic posted October 25, 2019 by Cy Routh 
    Title:
    Javascript libraries not loading when embedded in div
    Summary:
    Custom javascript is working in debugger and iframe, but does not load in div
    Content:

    I have a client trying to embed an interview in a div on their site. The interview uses several javascript libraries for an interview extension (a leaflet map control). Everything works in the debugger, on the hub, and when embedded in an iframe. When we try to embed in a div, the libraries are not loaded/accessible. Client wants to pursue div over iframe due to the Safari domain mismatch issue.

    I think this is because the client site is using a module loader (AMD?). The control extension expects the libraries to be loaded into the browser's Global scope, but they're not there. I can see the files listed among the site's source files, but the OPA interview can't use them. Is there a way to define interview extensions that is compatible with javascript module loaders? I can figure out some basic javascript, but this module thing is a bit over my head right now.

    They're investigating some possible workarounds to disable their module loader when invoking the OPA interview, but it would be nice to be able to handle this sort of thing gracefully from within the interview extension.

    Cy

     

     

    Version:
    12.2.15.220

Filter by Date

< < December 2019 > >
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Filter by Type