on 04-09-2015 8:14 PM
Hi David,
I am not 100% sure that we do have any standard setting for enabling & diabling prices but we can acheieve it by changing our code and I don't think it will be a major change.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hamendra,
Thank you so much for your input. Can you give more information in how to achieve this?? The things that I am thinking to that do are:
1. Set the the parameter for debugging to true... parameter is: wec-debug=true
2. Identify and Sync the DC
3. Make a Custom project and copy all the folders from the original DC identified
4. Modify and set the parameters for showing my custom development component instead from the standard one... Deploy Custom DC
5. Identify the method which call the showing prices in the UI
6. Once I get the line code in which the list prices are, I need to make a condition. First, I need to know if the user is logged or not. This point I do not how to do it.... I was searching for information and I found out that there is a super class that can get the session status:
UserUISessionState sessionState = (UserUISessionState) userUIUtils.getSessionObject(UserUISessionState.USER_UI_SESSION_STATE_S
7. Now that I know the session status I can decide. If the user is logged in call the method that show prices, otherwise show a simple text or something else.
Am I close to get the answer right or I am just tripping hahahahaha.... Can you give more info on how to do it...???? Thank you for everything. Best Regards..
David C.
Hi David,
Please use Development And Extension Guide WCEM 3.0 which can be downloaded from market place and it will help you to use SAP Recommanded way for development & extension.
In your pricing page you will be having user data/details, if this user data is null or blank than don't display prices else display. It will be a simple logic.
Thanks,
Hamendra
Hi Hamendra,
Thank you so much for all information... I already downloaded the guide but I could not find any information about getting status from users logged..... How to know if a user is logged or not into the system...?? We got WCEM 1.0 and I found a Post for WCEM 3.0 Early logon http://scn.sap.com/community/crm/web-channel/blog?start=15 for some excluded pages they used this tag for encapsulate content on JSP:
<c:if test="#{wec:isEarlyLogonShopAndUserNotLoggedIn() == false}">
<YOUR CONTENT/>
</c:if>
Best Regards
David Cortés
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.