cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning System Alias to an iView

Former Member
0 Kudos

Hi all

I have a System "mySystem" and alias as "myAlias".

How do i assign my Alias (myAlais) to an iView(salesOrder) ???

Thanks

Kay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

if this is a custom iview, you can create a propertie in the "portalapp.xml"

  <components>
    <component name="myIview">
      <component-config>
      ...
      </component-config>
      <component-profile>
        <property name="systemAlias" value="myAlias"/>        
       ...

then in the code for the IView, you can ask for the alias

systemAlias = aRequest.getComponentContext()
             .getProfile().getProperty("systemAlias");

and use it to get a connection using JCA

This allows to set a default alias, and later to change it in the properties of the iview.

regards

Guillaume PATRY

Former Member
0 Kudos

If itz a transactional type of Iview, then while building the Iview, you get an option to choose the system(this is the alias).

Or From the properties of Iview, you can change the System Alias!

Let me know, if u need more.

<b>Plz don forget points, if it helped</b>

Regards,

P.

Former Member
0 Kudos

Peter

<b> From the properties of Iview, you can change the System Alias!</b>

This sounds better !!!

Thanks

Kay

Former Member
0 Kudos

Yes you can!

Please close the thread, if it solved the problem.

[May be with points :-)]

Thanks.

Regards,

P.

Former Member
0 Kudos

Peter

I am in Content Mgmt --> Portal Content --> ... --> Sales Order --> iViewSalesOrder

How do i change the proerties of this iView ??

Thanks

Kay

Former Member
0 Kudos

Doublic click the iview to open it in the content area..from the Property Category dropdownbox choose Content - Transalation.

You would see System there

Put ur alias and save it! n Try a preview there itself

Regards,

Former Member
0 Kudos

Peter

I dont see CONTENT - TRANSLATION

fyi : I have copied an existing iView and making modification !!!

Message was edited by: Kay

Former Member
0 Kudos

Oh! Is it a custom Iview??

You can only see the properties i was talkin abt if it is a transactional type of iview.

Thanks.

Former Member
0 Kudos

Peter

How do i change the system Alias for this custom iview ???

Thanks

Kay

Former Member
0 Kudos

If itz a custom Iview, then you should change the system alias inside the java code. Inside the source code, pass your system alias instead of the One being passed.

Deploy it back and see the result.

Regards,

P.