WCS contributor UI Dashboard customization

Hi Experts WCS,

A simple question, if all goes well, can get help here. I need to customize the dashboard of the contributor UI for adding a Widget and pull the remaining assets updated to display.

More documentation of Oracle https://docs.oracle.com/cd/E29542_01/doc.1111/e29634/cust_dashboard.htm#WBCSD6230 added the widget dashboard, the default value is only showing 'Name' and 'Typical'. Necessary to also show a column with UpdatedDate, I did as well with the personalization of //Sites/11.1.1.8.0/Shared/elements/CustomElements/ < mySiteName > /UI/Layout/Utils/GridConfig.jsp and GridHtml.jsp.

Question:

(1) how can I display the date in the required format? Currently the date column shows a string of long date as "20151120044818129".

I tried the following two in GridConfig.jsp but without effect:

     <column id="updateddate">
      <fieldname>updateddate</fieldname>
      <columnname>Modified</columnname>
                <dateformat>MM/dd/yyyy hh:mm a z </dateformat>
      <width>auto</width>
      <formatter></formatter>
     </column>

     <column id="updateddate">
      <fieldname>updateddate</fieldname>
      <columnname>Modified</columnname>
                <javadateformat>SHORT</javadateformat>
      <width>auto</width>
      <formatter></formatter>
     </column>

(2) the next I want to achieve is to shoot only assets changed by the current of the connected user. I of course would investigate how to do it, but just thought that if someone here knows and can point me a direction and then he can save me some leg work.

Well, if you have the old RecentlyModifiedAssetAction.jsp code, and then replace old code with the following:

<%@page import="com.fatwire.assetapi.data.AssetData"%>

<%@page import="com.fatwire.assetapi.data.AssetDataManager"%>

< %@page="" import="com.fatwire.ui.util.GenericUtil">

% >< %@page="" import="org.codehaus.jackson.map.ObjectMapper">

% >< %@page="" import="com.fatwire.cs.ui.framework.UIException">

% >< %@page="" import="java.util.*">

%>< %="" @="" taglib="" préfixe="« cs »" uri="futuretense_cs/ftcs1_0.tld">

% >< %@page="" import="com.fatwire.services.beans.search.SearchCriteria">

% >< %@page="" import="com.fatwire.services.SearchService">

% >< %@page="" import="com.fatwire.services.ServicesManager">

% >< %@page="" import="com.fatwire.system.SessionFactory">

% >< %@page="" import="com.fatwire.system.Session">

% >< %@page="" import="com.fatwire.cs.core.search.data.ResultRow">

% >< %@page="" import="com.fatwire.cs.core.search.data.IndexData">

% >< %@page="" import="com.fatwire.assetapi.data.AssetId">

% >< %@page="" import=" »">

%>

<>

try {}

/ / This element uses the search service to find assets changed in last week to the site connected to.

/ / build search criteria

SearchCriteria searchCriteria = new SearchCriteria();

searchCriteria.setSiteId (GenericUtil.getLoggedInSite (ics));

searchCriteria.setModifiedDateOption (SearchCriteria.DateOption.PASTWEEK);

//Call search service for assets changed by a user connected from last week

Session its = SessionFactory.getSession ();

ServicesManager servicesManager = (ServicesManager) ses.getManager (ServicesManager.class.getName ());

AssetDataManager mgr = (AssetDataManager) ses.getManager (AssetDataManager.class.getName ());

SearchService searchService = servicesManager.getSearchService ();

The list of search results from = searchService.search (searchCriteria,-1, null);

/ / generate the list of assets, it's a list of card

List assets = new ArrayList () ;

for (ResultRow r: search results)

{

Asset map = new HashMap();

This map will have, the fields id, name, type and asset.

String id = r.getIndexData("id").getData ();

String type = r.getIndexData("AssetType").getData ();

Refbien assetId = new AssetIdImpl (type, Long.parseLong (id));

Check updated assets

Data AssetData = mgr.readAttributes (assetId, Collections.singletonList ("updatedby"));

String updatedby = data.getAttributeData ("updatedby") () () m:System.NET.SocketAddress.ToString .getData;

If Active has been updated by the current user, add this asset to the map

If (updatedby.equalsIgnoreCase (GenericUtil.getLoggedInUserName (ics))) {}

asset.put ("id", assetId.toString ());

Asset.put ("active", assetId);

asset.put ("name", r.getIndexData("name").getData ());

asset.put ("type", r.getIndexData("AssetType").getData ());

Assets.Add (Asset);

}

}

request.setAttribute ("assets", active);

} catch (Exception e) {}

e.printStackTrace ();

UIException EUI = new UIException (e);

request.setAttribute (UIException._UI_EXCEPTION_, UIE);

throw the EUI;

}%>

With the above code, only those assets will be visible that have been updated by the current user for the current site. In addition, rather than use above search, you can built your own search and add the results within the scope of the request.

Disadvantage of the use of this dashboard, is that if a user modifies & saves the assets, it is not automatically refreshes results as it does for the dashboard of the bookmarks. User will see updated Active changed by him or her that when that he clicks on the "Refresh" button or the connections again.

Kind regards

Guddu

Tags: Fusion Middleware

Similar Questions

  • Privileges to share dashboard customizations

    Hi all

    We have our dashboards created and owned by an administrator of BI role, and we want our users (with the role of consumer of BI granted) to be able to share customizations of dashboard to other users. Somehow, this possibility is not enabled by default, and I can't find the privileges I should change to activate it:

    2015-07-27_12-08-55 Share dashboard customization.png

    I tried to change this in the page privilege manage privileges:

    2015-07-27_12-13-04 Assign default customizacions privilege.png

    But the continuous option unavailable.

    I think maybe I need to change the permissions of dashboard for this role, now that the role of consumer BI has only open permissions (read and browse), maybe I need to set Custom permissions, and apply some other authorization?

    2015-07-27_12-21-24 Custom Permissions for Dashboards.png

    I do not see a custom permission related to this, and I don't want users being able to change the dashboard.

    Concerning

    Ana GH

    Post edited by: Ana GH, simply by changing the personalization for personalization (I'm pregnant not English, does not, I realized my mistake with these words)

    Just in case anyone else tries, this is what Oracle Support replied:

    I did some research and I tried the scenario you discuss everything and came to conclusion below.

    1. In order to save the Shared selections, the user must have write access to the/Dashboard_Name/_selections (IE go it for which the user seeks to share customizations) where shared selections. If the user is unable to write, the option is disabled.
    2. But if you provide this privilege, then users will be able to edit the dashboard, option would be so to have these users ask administrator to do this, the administrator will make these changes, rather than giving the users permissions.

    So, no sharing customizations to other users, if you are simply a consumer of BI role.

    Concerning

  • My dashboard customization

    Hello

    I understand that this is the place to ask questions about my foglight installation.  I would like to create a dashboard to make foglgith more useful to me and have a few questions for anyone who is willing to help out a newb Foglight;

    -On the Alerts page, there is an option to filter, but whenever I filter get no result.  See, there are more then my monitored servers, so I try to filter by *. domain.edu. I tried all the fields, and even though I see the field listed in the filtered list of alerts, when it is applied, there is no result

    -On my new dash, I'm watching an application called Banner INB.  Foglight successfully sees what I want (active sessions), but lists all the lines in the chart as "baninb".  I want to change the label for the name of the server.  I can manually determine if I have too, but I can't even find a way to manually change the label type, it only allows me to select an item in the drop-down list.

    -I've added two Windows I want to delete.  Some of my windows have a little drop-down arrow with the option 'delete '.  But two of my windows (experiences see it worked) have not the drop-down menu, or anything like that.  How to remove these windows?

    To all of you for your time.  Also I would like some more specific docuemntation on how to do more with the dashboard, but couldn't find much further basic stuff.  If you know, that would be great!

    For 1, it is a display of the column, so there is no button layout change (page layout is already defined pre), layout of fixed size (my favorite of signifiers) is one that has the edit page button. It's really strange, I tried different ways to re-create and this is not the case on my machine. It's like the title bar collapsed and all you can see is that the part of it without being able to reduce it and the properties button.

    You get the same behavior in different browsers (IE, FF, chrome, Safari)? This behavior still exists after the Foglight Management Server restart?

    I wonder if there are errors in the log file Foglight that explain that.

    If this dashboard is not too important, it can be easier to delete and create a new one, I've never seen such behaviour.

    If this dashboard IS important I recommend you apply for assistance of opening service and them look at it.

    3, can you please show me where in the data tree, you took this metric of?

    When I take the average response time to time, I get a server as a label name

    Golan

  • The OBI Dashboard customization

    Hello

    I'm customizinig OBI appearance.
    I managed to change the login page.
    But I want to change the page after the login of the user.
    I know the CSS file, but am not able to find the relevent to the XML files.

    Help, please

    Thank you
    Bhupendra

    Take a look at productmessages.xml > kmsgPoweredByAnchor

    concerning

    John
    http://obiee101.blogspot.com/

  • Preloader customization

    Hi all

    Having difficulties reall preloader in dashboard customization animate...

    To go straight to the points:

    1. my main project is using 100% width and height amd point of course I'd like for preloader do the same thing, but somehow animated gif always gets "stuck" at the top of the page without taking into account the coordinated percentage. How am I to the preloader animation centre regardless of the size of the screen?

    2 preloader page is always white... How can I change its color? Or even better, how can I load any substantive reason instead of use the solid color?

    Here are my two main issues for the moment.

    Please help if you can

    Here's a solution.

    I rewrite the html file.

    ...

    So, you use the Edge file without preloader.

  • How to reduce a DEFAULT section

    Hi Experts

    I want to know to reduce a default section?

    I tried to reduce the section, and then save the customizations.

    Although it works effects my quick values of the default dashboard customization

    Please can someone help

    Kind regards

    Franck

    the last code of work

    Replace d: dashboard ~ p:imrpsmuljmjsl3p4 ~ s:0n55a3b73c4cnt63 with valid identification.

    Published by: VIEREN Srini December 20, 2012 12:15

  • Customization of dashboard in the contributor UI

    Hello world

    I use the WebCenter Oracle 11 GR 1 material Sites and I'm trying to customize the dashboard on the contributor interface using the guide 'contributor Interface: Customizing the dashboard - 11 g Release 1 (11.1.1.8.0)'.

    I managed to change the DashBoardContentsConfig and ReqAuthConfig.xml files and also to create the element catalog UI/upgrade page/CenterPane/table of edge/HelloWorldHtml.

    However I am unable to add a new < element > with a new ID in the file DashBoardContentsConfig, as permitted the unique ID are bookmarks, and smartlists, processes and extractions. Basically, if I try to add a new < element > with ID 'helloworld', it will not show in the contributor user interface. But if I try to replace the path of the URL of an existing < element > with the path of the HelloWorldHtml file, the content will be displayed instead. How is it? How can I add a new < element > with a new ID so that it is displayed?

    Thank you in advance for your help!

    Hello

    Thanks for sharing the information. I managed to reproduce the problem also after the addition of another widget with custom as "customwidget" component id Looks like once the new widget is added, Sites is still trying to load 5 widgets only, that is, bookmark, smartlist, assignments, extractions and helloworld.

    Other research indicates that the outdated list of widgets from SystemUserPreferences table.

    When you rearrange dashboard widgets, the user preference is stored in the SystemUserPreferences table. The next time the same user connects to the contributor user interface, Sites will get the preference of the user dashboard for this table. For this reason, if a custom/new widget is added after an entry is created for the user in the SystemUserPreferences table, the new widget will not be shown until this entry is deleted from the SystemUserPreferences table.

    To work around this problem, use the site Explorer to access the table of SystemUserPreferences, make a backup of the table and find a line like this:

    UserID = user logged in question, for example fwadmin

    siteid = the user in site in question, for example FirstSiteII

    name = CONTRIBUTORUI:dashboard

    value = [{'label': 'bookmark', 'value': 0}, {"label": "smartlist", "value": 0}, {'label': 'helloworld', 'value': 0}, {'label': 'missions', 'value': 1}, {'label': 'extractions', 'value': 1}]

    delete this line and save the changes to the Explorer of Sites.

    Then, if your disconnect and connect to the UI contributor once again that the user in question, you should be able to see the new custom/widgets.

    NOTE: Make sure to make a backup before you change the database tables manually. Also, you will lose the preferences of the widget (for example positioning) after removing the line.

    Thank you
    Yu-Chun

  • How can I customize chumby apps in the dashboard?

    [color = #4000FF:2h8jkxao] How can I customize chumby apps in the dashboard? [/ color: 2h8jkxao]

    I tried creating an account @ chumby.com and update applications online, but is not displayed in the dashboard, for example the Netflix apps display/update queue you, see what @ home, new versions and one other application, the Yelp app? When I add those on the dashboard it is said on the lower right corner on 'Customize online @ chumby.com' but how does it work for the dashboard? Someone has an idea?

    I thought about it! log on to dash.chumby.com to manage apps there is a link to customize here.

  • Customize the dashboard of authentications live

    Hello

    is it possible to customize the dashboard live auth to see only the failed authentications? It is also possible to expand the view and see the last 100 failed authentications? Filters can be applied to the direct authentications dashboard does not give me these options.

    Not as far as I can see, but you can be a bit smart.

    For example, you can certainly choose display the last 100 entries, this is a standard option (click the screwdriver to select)

    But to see Remote auth (in your case), you can filter on authentication does not provide MSCHAPv2

    Looking at your screenshoot that should give you a list of failures.

    The ACSview add to 5.x is certainly a cool feature that just missed on a large number of customization options.

    Paul

  • Widgets from Dashboard absent of my UI contributor

    Hi all

    As I am customizing the dashboard, change and test, by dragging the widget autour, I somehow had done two of my widget ('Saved Search' and 'Order') disappeared (I think has got to do with, I put the dashboard to be the only column when two widgets are the 2 pass?) (Not sure).

    In any case, I returned my DashBoardContentsConfig.jsp and DashBoardContentsHtml.jsp the two missing widget still isn't way to find.

    Anyone know how to make them reappear in the contributor user interface?

    Thank you

    Alchn

    ... And I found it. It is in the SystemUserPreferences table.

    Field "name" = CONTRIBUTORUI:dashboard

    Field 'value' ~ = [{'label': 'myAddedWidget', 'value': 0}, {'label': 'bookmark', 'value': 0}, {'label': 'missions', 'value': 0}, {'label': 'smartlist', 'value': 1}, {'label': 'extractions', 'value': 1}]

    I need to change the value in the field 'value' for the target user. It stores the widgets to show and their placement of column (0 for the first pass, 1 for the second pass, etc.).

    When screwed up (as in my tests, have put the max column to 1, but some of the widgets is always placed in the 2nd column AND drag/rearrange the widgets) items listed in the "value" will become less, with some widgets, removed from the list. So just "repair" the value "line" will fix it.

  • Beginner question: Customize the dashboard

    Hello

    I have multple ESX servers in my environment. I need to create a custom dashbord in Vfoglight have the CPU of all ESX servers in a single diagram.

    At the present time, I am able to add an ESX by chart

    Can anyone help?

    Thank you

    Nishant

    Nishant,

    The servers you are interested/not interested, they have a special name model?

    You can set a name filter to include or exclude servers.

    Click on the upper right corner on your dashboard Options - change the properties - filter

    Check correspond to the following rule: name contains, and then type the name.

    Let us know if this solves your problem.

    / Mattias

  • How to customize print options in the dashboard.

    Dear all,

    We are looking for a little personalization printing option in the dashboard.

    1. as for the impression we have two option pdf and html, so we want to pdf only.
    2. in printing to PDF, we want logo to print the pdf (in the upper left most corner logo)


    Kind regards

    Norman John

    Published by: Rémy Jain on July 21, 2009 12:51

    Look at this link, here is explained how to add and create your own logo.

    http://oraclebizint.WordPress.com/2007/09/27/Oracle-BI-EE-101332-changing-logos-in-the-answers-title-view/

    Once you "load" your logo, you can access it as fmap:images / your_logo.gif. You can print it as well.

    Look at this link to try to remove the HTML characters.

    http://oraclebizint.WordPress.com/2008/01/03/Oracle-BI-EE-101332-customizing-download-links/

    Published by: Micek on 2009.07.21 15:21

    Published by: Micek on 2009.07.21 15:22

  • Customize the Home tab toolbar in the contributor Interface

    Hello

    I need to add a button to the toolbar of the Home tab and I want to know that if it is a possible cause in the documentation there is no examples or information on this subject. To be clearer, I bind a pict from where I want to put the button:

    http://ImageShack.com/a/img842/1229/0uxx.PNG

    Hello

    Have you added your code to User/Config/GlobalHtml or CustomElements/UI/Config/GlobalHtml interface?

    I added to the user/Config/GlobalHtml interface to check the behavior before creating the CustomElements one. If you have changed via SitesExplorer you should invalidate the cache to see the changes.

    See you soon,.

    Gerardo

  • Cannot customize the "advanced performance dashboard.

    Hi all

    My environment:

    Essential Plus 4.1

    a vcenter without joining the domain

    two esxi 4.1

    EMC NS120

    Problem:

    When I want to create graphic performance custom in vcenter, I go to:

    1 Select an object in the inventory and click on the performance tab.
    2. click on advanced.
    3 click Chart Options.

    But the date range is grayed out. Is essential to limiting?  Anyone has same experience?

    Hello

    Click Custom, then you will get select the time.

  • Where can I find the analysis created by the new dashboard interest?

    This seems like it should be obvious, but I simply don't think this.

    The page says add-on the add-on includes a new homepage, so I tried to reset the home page in the preferences. He takes me to the home page of Firefox, but it does not seem a «dashboard access interest» button

    I checked the different places where I can access the history - no dice.

    I looked at the descriptions of the add-on in several places (on the Mozilla forums) and on third party sites - still nothing to tell me where to find something that looks even vaguely data presented in the photos of what the add-on.

    I tried to find a button that I could add to the customizable menu; nothing.

    I tried to open a new tab and check the options there. Nothing.

    Nevermind, I found it. I have no idea why I couldn't see the button in the toolbar. Maybe it is gray and looks enough like other plugins that I have I jumped just seeing her.

Maybe you are looking for