Two different views...
Hi,
Could someone tell me if this is possible with iCal. I would like to schedule some jobs who are divided in different steps. So, for example, Job#123 has Step A, B, C and D and Job #234 has Step B and C. Is it possible to see the different steps of a job at a time, and is it possible to see all the Step A's, or B's at a time. After reading on iCal, I personally it is not possible. My understanding is that I have to make a choice; either I choose to go by Job# (each Job# having a different color) or I decide to go by Steps # (each step# having a different color). Hoping my question is clear enough.
If not possible would you have a recommendation of a Web application that would accomplish this?
Thank you very much,
Alain
Hi,
please have a look at the documentation here for why this is and how to handle it
http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcadvvo.htm#ADFFD1167
Frank
Similar Messages
-
How can I use sysnonym to hide two different views?
hi,
My question is how can I use 2 different users to login and they point to different views. However, in the program level, the view name always stand for "Test_View".
I try to meet the requirements and do the followings:
Step 1: In user A account, it creates two different views and also grant select to User B and User C respectively.
Step 2: Login User B and create public synonym called "Test_View".
Step 3: Login User C and create public synonym called "Test_View".
I encounter the problem in Step 3 which is public synonym called "Test_View" is already exist. So, anyone can tell me once login and it will depend on which view you can see on program level.
Thanks
AmyAs 399811 told you, you have to create private synonyms.
"CREATE SYNONYM ...." instead of "CREATE PUBLIC SYNONYM ...."
the private synonym has to created in each user.
Joel Pérez -
i want some of my users to see all the projects in the Project Center at my top-level site, and those same users to see only the projects they own at a subsite level in Project Center. that way they could see an 'all project' view on the homepage and only
their projects on their dashboard pages (which also have an instance of Project Center web part on them). i have searched and searched but cannot find a solution to this. is there any way to acheive this functionality? thanks in advance for your assistance!I have tried this in the past, but was not successful, as far as I can recall. Once you access the project center webpart in one page, the view will be retained regardless where you see it again. (until you apply a different view or clear your browser cache).
May be an easier solution is to display a 'report' on the home page with ALL projects (much easier to do), and use the Project Center webpart for the My projects view as it is easier to achieve via Project Server Security, than a report.
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
-
One Model, Two Trees, Two Different Views
Here is what I need to do:
- Maintain 1 and only 1 model for tree data
- Display two different JTrees, each using the same model, but one showing all the data, and the other only showing a subset.
Example:
My Tree Data model is a file system containing all drives and folders below them.
One tree needs to show all the drives and folders below them.
The other tree needs to only show one drive and the folders below it.
I am open to any suggestions, even if you are just brainstorming.My abstract adapter for my experimantal GEDCOM editor - still being worked on
abstract public class AbstractTreeViewAdapter implements TreeModel
private String rootElementName_;
private Model m_model;
private Element rootElement_;
public AbstractTreeViewAdapter(Model model, String rootElementName)
m_model = model;
rootElementName_ = rootElementName;
Element root = m_model.getGEDCOMDocument().getRootElement();
rootElement_ = root.getChild(rootElementName, root.getNamespace());
m_model.addPropertyChangeListener(new PropertyChangeListener()
public void propertyChange(PropertyChangeEvent event)
if (rootElement_ != null)
removeAllChildNodesFromRoot();
Element root = m_model.getGEDCOMDocument().getRootElement();
rootElement_ = root.getChild(rootElementName_, root.getNamespace());
addAllChildNodes();
// Methods to edit the tree /////////////////////////////////////
public void removeChild(Object parent, int childIndex)
public void removeChild(Object parent, Element child)
int childIndex = getIndexOfChild(parent, child);
if (childIndex < 0)
throw new IllegalArgumentException("Cannot find child");
removeChild(parent, childIndex);
public void insertChild(Object parent, Element child, int index)
int numberOfChildren = getChildCount(parent);
if ((index < 0) || (index > numberOfChildren))
throw new IllegalArgumentException("Index out of range");
Object[] path = getPath((Element)parent);
Object[] childToInsert = {child};
int[] indexToInsert = {index};
TreeModelEvent event = new TreeModelEvent(this, path, indexToInsert, childToInsert);
Iterator it = m_listeners.iterator();
while (it.hasNext())
TreeModelListener listener = (TreeModelListener)it.next();
listener.treeNodesInserted(event);
private Object[] getPath(Element element)
LinkedList result = new LinkedList();
while ((element != null) && !element.getName().equals(rootElementName_))
result.addFirst(element);
element = element.getParent();
result.addFirst(getRoot());
return result.toArray();
public Object getChild(Object obj, int index)
if (obj instanceof Element)
return ((Element)obj).getChildren().get(index);
else if (obj instanceof Model)
return getChild(rootElement_, index);
else
return null;
public int getChildCount(Object obj)
if (obj instanceof Element)
return ((Element)obj).getChildren().size();
else if (obj instanceof Model)
int childCount = (rootElement_ == null)?0:rootElement_.getChildren().size();
return childCount;
else
return 0;
public int getIndexOfChild(Object obj, Object child)
if (obj instanceof Element)
Iterator it = ((Element)obj).getChildren().iterator();
for( int index = 0; it.hasNext(); index++)
if (it.next() == child)
return index;
return -1;
else if (obj instanceof Model)
return getIndexOfChild(rootElement_, child);
else
return -1;
public Object getRoot()
return m_model;
public boolean isLeaf(Object obj)
if (obj instanceof Element)
return !((Element)obj).hasChildren();
else if (obj instanceof Model)
return false;
else
return true;
public void removeTreeModelListener(javax.swing.event.TreeModelListener treeModelListener)
m_listeners.remove(treeModelListener);
public void valueForPathChanged(javax.swing.tree.TreePath treePath, Object obj)
System.out.println("VFPC"+obj);
public void addTreeModelListener(javax.swing.event.TreeModelListener treeModelListener)
m_listeners.remove(treeModelListener);
m_listeners.add(treeModelListener);
public void removeAllChildNodesFromRoot()
Object[] path =
{getRoot()};
removeAllChildNodes(path);
public void removeAllChildNodes(Object[] path)
ChildrenOf children = new ChildrenOf(path[path.length-1]);
if (children.size() == 0)
return;
TreeModelEvent event = new TreeModelEvent(this, path, children.getIndexSet(), children.getChildren());
Iterator it = m_listeners.iterator();
while (it.hasNext())
TreeModelListener listener = (TreeModelListener)it.next();
listener.treeNodesRemoved(event);
public void addAllChildNodes()
Object[] path =
{getRoot()};
addAllChildNodes(path);
public void addAllChildNodes(Object[] path)
ChildrenOf children = new ChildrenOf(path[path.length-1]);
if (children.size() == 0)
return;
TreeModelEvent event = new TreeModelEvent(this, path, children.getIndexSet(), children.getChildren());
Iterator it = m_listeners.iterator();
while (it.hasNext())
TreeModelListener listener = (TreeModelListener)it.next();
listener.treeNodesInserted(event);
private class ChildrenOf
ChildrenOf(Object parent)
if (parent instanceof Element)
children_ = ((Element)parent).getChildren().toArray();
else if (parent instanceof Model)
if (rootElement_ == null)
children_ = new Object[0];
else
children_ = rootElement_.getChildren().toArray();
else
children_ = new Object[0];
int[] getIndexSet()
int[] indexes = new int[children_.length];
for (int i = 0; i < children_.length; i++)
indexes[i] = i;
return indexes;
Object[] getChildren()
return children_;
int size()
return children_.length;
private Object[] children_;
public void notifyAllChanged(TreeModelEvent event)
Iterator it = m_listeners.iterator();
while (it.hasNext())
TreeModelListener listener = (TreeModelListener)it.next();
listener.treeStructureChanged(event);
public void notifyStructureChanged(TreeModelEvent event)
Iterator it = m_listeners.iterator();
while (it.hasNext())
TreeModelListener listener = (TreeModelListener)it.next();
listener.treeStructureChanged(event);
* The set of listeners that will be notifed when the tree changes
private Vector m_listeners = new Vector();
} -
Passing two values in two different views using view criteria in adf bc
I have two tables. Message and MessageProperties. Message table is connected with itself as same as Employee table of HR. Means a Message can have various child message. MessageProperties contains the message properties. A message can have various properties. I want to show the message only if it has a particular value in MessageProperties,then its properties,its child message. If its child message have the same value in MessageProperties,then it shows that. Likewise it should give me a tree structure with its all properties.
When I am hardcode the value then its shows fine.
SELECT Message.MESSAGE_ID,
Message.MSG_CONTENT_ID,
FROM MESSAGE Message, MESSAGE_PROP MessageProp
WHERE (MessageProp.Message_Id=Message.Message_Id) AND ((MessageProp.Key='From' OR MessageProp.Key='To') AND (MessageProp.value='B'))
But when I use the Bind variable in view criteria then I am not able to achieve this.
1. How to do that in adf bc and how to link message and messageprop with this condition?
2. How to pass two parameters in serviceinterface FIndViewCriteria method i.e. messageId and value so that it will show only that message having that value?Thanks Timo,
It helps me a little bit.
It only shows me the parent message id and its properties. But it is not showing its child message id and its properties.
Let me explain you step by step what I have done.
1> I have created a view MessageView with two entities i.e Message and MessageProp and include the value attribute of MessageProp in it.
2> I have created the default MessagePropView from MessageProp Entity.
3> In MessageView I have modified the query which you have given.
4> I have created the Bind variables.
5> I have created a view criteria and in that view criteria I have included Message_Id=:Bind_MessageId and Value=:Bind_Value.
6> I have created an association connecting Message.Message_Id and Message.Parent_Id(1 to * cardinality) because a message can be a parent of many messages.
7> I have created a viewlink between Message and MessageProp using Message_Id.
8> I have created a view link between Message and Message using the association which I have created in step 6.
9> I have created the Application Module. In that,my Data Model looks like
---MessagePropView2
---MessageView1
---------MessagePropView1
---------MessageView2
10> Then I have created the service interface. In service interface view instances,I include these two view and select the GetByKey operation from basic operations.
11> From View Criteria find operations I have included the view criteria which I have created in message view in step 5.
12> Then I run the AppModuleServiceImpl.java and select the view criteria operation which I have created in step 11.
13> There I find two bind variables i.e. Bind_MessageId and Bind_Value. I give the values there.
But it checks whether that message Id(Bind_MessageId) which I have given have that value(Bind_Value) or not. If it has then it shows only that message along with its properties but it is not showing me its childs and their properties.
I want to show only those child message who have the MessageProp.value as (Bind_Value).
I hope you understand with the scenario.
I'll be very thankfull to you if you help me to do this.
Rohit. -
Different View for same document library on a Wiki Page
Hi,
I am developing a Provided hosted app which have a functionality to create a document library with two Views. Also we need to show this document library in a wiki page with two different views.
I am using CSOM (C#). I am able to create the document library and the two views programmatically. But when I add the document library in the wiki page the default view (All Documents) is shown for both the web parts. There is an hidden view created with
the WebPartDefinition from the xml provided through code.
Through CSOM we are able make a View as default with the link below.
http://sharepoint.stackexchange.com/questions/90433/add-document-library-xsltlistviewwebpart-using-csom-or-web-services
In my case both the webparts will get the same view, where I need different view for same document library in a wiki page.
Also I tried to update the web parts with the following code.
string viewString = @"<View Name='{0}' MobileView='TRUE' Type='HTML' Url='/SitePages/Home.aspx' Level='1' BaseViewID='1' ContentTypeID='0x' ImageUrl='/_layouts/15/images/dlicon.png?rev=23' >
<Query><Where><Eq><FieldRef Name='KeyDocument'/><Value Type='Boolean'>1</Value></Eq></Where></Query>
<ViewFields><FieldRef Name='FileLeafRef'/><FieldRef Name='DocumentOwner'/><FieldRef Name='Modified'/>
<FieldRef Name='_UIVersionString'/><FieldRef Name='Editor'/></ViewFields>
<RowLimit Paged='TRUE'>30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default='TRUE'>main.xsl</XslLink>
<Toolbar Type='Standard'/></View>";
WebPartDefinition wpd = wpfound.FirstOrDefault();
string formattedstring = String.Format(viewString, wpd.Id);
wpd.WebPart.Properties["XmlDefinition"] = formattedstring;
wpd.SaveWebPartChanges();
web.Context.ExecuteQuery();
I created two views (viewString) as shown above.
The above code did not throw error, but it did not update the web part.
Please advise how to move forward.Hi Samir,
When we click outside of the list view webpart on a webpart page (or allitems.aspx page) with containing multiple webparts, the list view webpart will lose the focus, and the selected items will be deselected, this is by design.
You can look at the following article with using the approach/workaround of Javascript to prevent the specified list view webpart from losing focus.
http://sharepoint.stackexchange.com/questions/44360/list-view-loses-focus-when-additional-webpart-added-to-page
//Set focus on our list web part
var webPart = document.getElementById('WebPartWPQ1');
WpClick({target: webPart});
//Prevent it from losing focus
SP.Ribbon.WebPartComponent.$3_1.deselectWebPartAndZone = function() { };
Thanks
Daniel Yang
TechNet Community Support -
Can I use one Apple TV device on two different HD televisions to view the same info from a mini Mac?
Welcome to the Apple Community Lschaef5318.
You need one Apple TV for each TV. -
How do I get all the songs from an album to show in the album view? Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod. How do I get all the songs on that album together on my iPod? If the album is a collaboration wtih many artists, each sond may appear as a separate album.
I used to have this problem.
First, you need to go back on iTunes
you need to go to each of the songs that are having this problem
Click the album so all the songs drop down
Right click the songs that have this problem
Click ' Get info '
Click the tab that says " info '
The box that says ' album artist ' should probably be empty (correct me if I'm wrong)
Click it and type the artist of the entire album, NOT the songs guest artist
as such,
ARTIST
JAY-Z Feat. Justin Timberlake
ALBUM ARTIST
JAY-Z
These should be separate for each artist
If you write the same album artists for each song by that artist, all the songs should be on 1 album -
APEX Application accessing data from two different databases
Hi All,
Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
Is it possible to configure this scenario?
The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
Thanks
Nil1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
3. I mean create synonyms on DB1 for reports VIEWS in DB2.
Hope all is clear! -
OBIEE report based on same criteria but different view based on filter
Hi,
I am trying to create a report in OBIEE 11.1.1.5 where In the same report using the same criteria, I can have different views which applies different filter.
Suppose, I have a report criteria as
Dim1, Dim2, Measure1, Measure 2.
I want to create two pivot view based on the same data.
One view will be showing data Dim1="Value1". The other view is duplicate of this view but will show data Dim1="Value2".
Is it possible in OBIEE?
basically what I want is work on the same dataset but different representation and show them in the same report. Please share your opinion.
Regards,
Tanveer.Hi,
You create a new dim dummy column in criteria and in presentation level create new pivot table view use this dummy dimension column and filter with dim1=value2.
give updates on this.
Mark if Helpful/correct.
Thanks. -
Using different datasources and different view objects.. (ADF 11g)
In our application we have the need for using two different datasource (an old version and a new verision) - but not at the same time.
Isn't it possible to base a viewobject on top of two sub viewobjects and run time decide which sub viewobject to use?
If possible - could someone please show some code examples?
Thanks...Hi,
no, not exactly. You can have polymorphic views, but the use case is a different. The transaction is maintained by the AM, so if you want to connect to different data sources then you have to connect to them when starting the application, For this you can configure it for dynamic JDBC connect
Frank -
I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some button initiated data from one page to another and then present it in a table.
There is no simple way to do it, as itunes wont let you use it on another computer without wiping the contents first.
However if you really want to transfer songs to another computer then you could try this;
* make sure that your ipod is accessible as a disk drive (ipod options)
* when you plug your ipod into the computer you want to transfer to make sure you select "no" or "cancel" when it asks to wipe the contents. Leave the ipod connected and quit from itunes.
* go to "my computer" and access the ipod directly. You probably have to select "view hidden files" from windows. You will see a lot of folders with odd names like ZX838aff with similar named files inside.
* copy these files to a folder on your computers hardrive. Now remove the ipod and start itunes.
* import the files from the folder you made in the last step.
* Now your music is on itunes, but with unrecogisable names.
This is the only way I have found to do it, but there may be another way, say with an application to do the hard work for you.
Generic homebuild PC Windows XP
Generic homebuild PC Windows XP -
How to update two different tables by ony one sql query???
Hi All,
i need to update two different talbes in a single sql query..
i m using the following query
UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12
AND
UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12
i m getting the following error:
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute: UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12 AND UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12 . [nQSError: 17011] SQL statement execution failed. (HY000)
SQL Issued: EXECUTE PHYSICAL CONNECTION POOL writeback UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12 AND UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12
but when i m ushin the same query in Microsoft SQL Server it executes properly:
please help me out...There's no valid syntax for this, but there are some tricks you could do to achieve it.
i) You could place an update trigger on TABLE1 to update TABLE2 automatically.
ii) You could define a view across both tables and add an INSTEAD OF UPDATE trigger to it to maintain them.
If I had to do this I'd choose option2, but frankly I'd just be running two updates if it really was me. -
How to add two different database connections on Model
Hi,
In my application, I need to create View Objects on different databases. So I need to add two different database connections on the Model.
But it seems like Model can be connected to only one database. I tried adding another project to add the second db connection. But after I created a read-only View Object in the second project, it didn't generate corresponding data control in the Data Controls panel.
Could anyone help me on this?
Thanks!Do you mean adding the second project folder in ViewController->Project Properties->Libraries and Classpath?Yes, either that or: ViewController -> Project Properties -> Dependencies
And I didn't see the first Model project in the ViewController classpath. Otherwise it wouldn't work. The first model project IS in 'classpath'. Here's how:
ViewController -> Project Properties -> Dependencies
I tried this and recreated the View Object. Still didn't generate the datacontrol. No idea why you had to recreate the VO.
Is your VO in an application module inside the SECOND project?
After you are sure that everything is in the ViewController's classpath, just try restarting JDeveloper.
This is very basic. has to work. -
One Material with two Different In-House Production Days
Dear Experts,
We have 1 semi-finished material (HALB) that is common to two different locations (production version) with two different in-house Production days. How can we separate the 2 different in- house prod. days for this specific material? Could we setup in the production version? if not, could you give us an advice.
Ex:
JDXZ011111 with Prod. version I000 = 3 days
JDXZ011111 with Prod. version X000 = 1 day
We are hoping for your help..
Thank you.
Regards,
MarnelliDear Mamelli,
1.You cannot maintain the in-house production time in the production version.
2.In-house production time in days can be maintained in MRP2 view.
3.If Lead time scheduling is carried out at the time of MRP run then the system uses the in-house time for the calcualtion onf basic
start and end dates.Based on the routing data the system proposes the production start and end time.
4.Generally exception messages 64 Production finish after order finish
63 Production start before order start are shown after MRP run.
5.If basic scheduling is carried out then the system proposes only the basic dates.
Regards
S Mangalraj
Maybe you are looking for
-
Issue in See All options in Outlook Web Access (Exchange 2010)
Dear Exchange Admins, In our Exchange email environment, the users are able to login OWA. but the users as well as all admins (Exchange and AD admin) are not able see all options through OWA. All are getting the message " Sorry! Access denied You d
-
[SOLVED] Gnome-Shell does not return any application on search
Hi. When I search for applications in Activities in gnome-shell, no applications are returned. I can still go to the Applications tab, where all applications are visible. In the .xsession-error log I find this error JS LOG: Error searching with Zeitg
-
Hi , Is their any CSS to ACE configuration conversion tool
-
HI all. i have sapscript in format E__ZWMF0101[1].txt i want to upload it to my client. through program RSTXSCRP,i am giving the object name as ZWMF0101 and mode EXPORT. but how can i see whether it is getting uploaded and what is the location. what
-
Is it safe to use Mavericks iCloud keychain or not?
I am not sure whether or not I should use Mavericks icloud keychain to store all information. How safe is it or good idea?