Finding all portlet instances used in a specific page group?
Is there a way of retrieving all the unique portlet instance ID's (reference path) used in a specific page group???
Is there a way of retrieving all the unique portlet instance ID's (reference path) used in a specific page group???
Similar Messages
-
How can get all the components used on the current page
how can I get list of all components being used on the current page using javascript. I have tried CQ.WCM.getComponentList(CQ.WCM.getPagePath()) but this seems to list all the components available.
Environment CQ 5.5 Update 1, Widnows 7You have to remember that once you are in JS, you are only really able to retrieve markup or representations of the DOM. The markup is the result of a combination of components, which is technically a "server only" concept. Components are just a way for CQ to organize executable code, so once a page is rendered a component isn't really a thing. The closest thing I can think of is to list all of the DIVs that represent a component wrapper that are on the page, but this is error prone and clunky. You could also make AJAX calls back to the server to retrieve a list of the components by node name, but that approach would not return synthetic resources (ones that render, but do not have a node representing them).
Why are you trying to do this? Maybe someone has a better idea, but this has a bad smell to me. -
How to find all the instances for specific recurring report
How can I use UQery Builder to find out all the instance related to specific Recurring job. I have tried using following query to get the result with poor performance.
select SI_ID, IS_SCHEDUILE_STATUS from ci_infoobjects where SI_NEW_JOB_ID = 2604480
Since I find that SI_ID stores the current instance id and SI_NEW_JOB_ID stores the recurrign job's ID.
Please Help.
Edited by: Gabriel Luk on Feb 14, 2011 5:21 PMI can not find 'SI_KEYWORD' is a indexed properties in following SAP Notes.
1364250 - Which BusinessObjects Enterprise InfoObject properties are indexed
1499196 - Which of the InfoObject properties are indexed
Edited by: Gabriel Luk on Feb 15, 2011 5:09 AM -
How to find out portlet instance type without using PortletInstanceInternal
Does anyone know how to find out the instance type of a portlet using the API? The instance type corresponds to INSTANCE_TYPE column in PF_PORTLET INSTANCE table.
Does anyone know how to find out the instance type of a portlet using the API? The instance type corresponds to INSTANCE_TYPE column in PF_PORTLET INSTANCE table.
-
Need to get list of all portlet instances in system
Hi guys
Probably such question already was here, but I cant find any solution.
I need to get list of instance labels of all portlets used on all desktops in current domain.
Thanks for help.
Edited by AndreW at 04/08/2008 8:23 AMHi
you havent told me the version you are using.
For 8.1 (and i suppose you should have similar classes in 10)
get a IDesktopDefinitionManager from the DesktopDefinitionManagerHome
IDesktopDefinitionManager.getDesktopDefinitions --> gets all the definition
for each definition IDesktopDefinitionManager.getDesktopView
from the desktopView get the Primary BookView.
recursively go through the book view to get getNavigableView . if the navigable is itself a BookView , recurse. if it is a pageView then get the PlaceableView. If the placeable view is of type BookView then do the recursive stuff, else if it is a PortletView you have what you want.
regards
deepak -
How to find all the parts used from stock for 1 machine
Dear Sap community,
I'm trying to find all the spare components that are used for 1 specific machine.
If I look in the work orders under components it only gives the components that are orderd.
But I would like to find the components that come out of stock. I asked the stockkeeper and he said he writes it all in the work orders but we can't find it back.
It would be nice to just find it on the work order but it would be easier if I could just choose a machine and then find all the spare parts used from stock.
So my question is can I find all the spare parts used for 1 machine or just find the spare parts in the work order?
Thank you for any help you can provide in this situation,
Michael ClaesHi,
In addition to puneet's information:
Training and Event Mgmt infotypes:
Prices (Infotype 1021)
Availability Indicators (Infotype 1023)
Capacity (Infotype 1024)
Depreciation Meter/Validity (Infotype 1025)
Business Event Info (Infotype 1026)
Site-Dependent Additional Info (Infotype 1027)
Address (Infotype 1028)
Business Event Type Info (Infotype 1029)
Procedure (Infotype 1030)
Mail Address (Infotype 1032)
Name Format (Infotype 1034)
Schedule (Infotype 1035)
Costs (Infotype 1036)
Billing/Allocation Info (Infotype 1037)
Business Event Blocks (Infotype 1041)
Schedule Model (Infotype 1042)
Demand (Infotype 1060)
Web Link (Infotype 1061)
Knowledge Link (Infotype 1062)
Business Event Group Info (Infotype 1063)
Thanks,
Anil.G -
Finding PeopleSoft Process Instance using Oracle session info
Hi:
I'm on Oracle 10.2.0.3 and PeopleSoft Financials 8.9.
Does anybody know how to get PeopleSoft Process Instance using v$session, v$process and other info?
TIA.Hey Sybrand,
Thanks for your reply.
I am actually a dba trying to help PeopleSoft developers. The question is on the edge between Oracle & PeopleSoft. And yes, I took a close look at v$session. It shows Oracle Session info while Process Instance is a PeopleSoft identifier sitting in PSPRCSRQST table. I intuitively feel that there should be a database-level connection between the two.
All ideas appreciated.
I hope they will show PI in v$session in subsequent versions of Oracle... -
How to find all the infotypes used for LSO?
Folks,
Can anyone help me on how to find the related infotypes used for LSO?
Thank
SHi,
In addition to puneet's information:
Training and Event Mgmt infotypes:
Prices (Infotype 1021)
Availability Indicators (Infotype 1023)
Capacity (Infotype 1024)
Depreciation Meter/Validity (Infotype 1025)
Business Event Info (Infotype 1026)
Site-Dependent Additional Info (Infotype 1027)
Address (Infotype 1028)
Business Event Type Info (Infotype 1029)
Procedure (Infotype 1030)
Mail Address (Infotype 1032)
Name Format (Infotype 1034)
Schedule (Infotype 1035)
Costs (Infotype 1036)
Billing/Allocation Info (Infotype 1037)
Business Event Blocks (Infotype 1041)
Schedule Model (Infotype 1042)
Demand (Infotype 1060)
Web Link (Infotype 1061)
Knowledge Link (Infotype 1062)
Business Event Group Info (Infotype 1063)
Thanks,
Anil.G -
Find application module instance using groovy script
Hi,
Can any one help me to find the instance of a specific application module using a groovy script.
I know the below is going to give me the current application module instance
adf.object.applicationModule.findViewObject("ViewObject").first().getAttribute("name")But I should be able to find a specific application module and then proceed with finding the viewObject in it.....
Edited by: vijai on Mar 6, 2012 7:21 AMHi john,
This is the summary of my issue.....
I have few Appmodules among which one is used for administration purpose. I have a particular ViewObject say V1 that is used in all the AppModules as instances from which values are used as bind variable values in viewObject query (So when these instances gets executed first time the bind variable are set). In one operation the user changes the value in the administration app module ViewObject V1 and commits it. So we face two issues here.....
1. I need to refresh all the ViewObjects in the other appmodules
2. and I need to refresh the Bind Variables values in the ViewObject query (or) Give the refreshed values in the page bindings Execute With Params.
In order to do this stuffs I thought I would make a groovy script and use the viewObject in the Administration ViewObject for values in Bind variables,ExecuteWithParams value etc......
Pls give me a better approach or a better groovy script to do this........... -
How to find all the table used in a report
Hi Expert ,
Is there is any program to find out all the tables which are used in a perticular report .
Thanks in advance
TarakWell, so far Viquar Iqbal has given the only really correct answer - use SQL trace. The reason the others are incomplete, is because they don't consider that a report might call a function module or a class method that accesses a table. In fact, for many applications this is exactly what happens - db accesses are abstracted away from the main program.
The other alternative to SQL trace is to use Run Time Analysis. The advantage of SQL trace is that it shows the tables hit in order.
matt -
Trying to find all files or folders with a specific owner recursively
I'm trying to find any file with a specific owner, let's call that owner "domain\account1" I've placed 2 files and a folder at various levels in a directory structure and when I run the following code from the folder those files (or folder) exist
in, it works fine:
gci | Select fullname,@{n='Owner';e={(Get-Acl $_).Owner}} | Where {$_.Owner -eq 'DOMAIN\account1'}
But when I try to go to a common root of those files (and folder) and add -recurse to the gci, it shows only the folder. Is there something secret/hidden about gci that I need it to force-show, or am I doing something else wrong?
Thanks
[email protected]No. They look roughly equivalent but the expression I used may be more flexible. You also can shorten yours more like thsi:
Get-ChildItemC:\Temp -Rec
| Get-ACL
| ?
{$_.Owner
-eq 'Domain\Admin'}
No need to wrap it in the pipeline.
This is exactly what mine is but I added a select with a calcculated property.
¯\_(ツ)_/¯ -
Find all symbols that use a class?
Is there a way to search for symbols by the class they are using? I have a large project, and at times (specifically when refactoring) doing this would be very useful.
Anyone know?Perhaps I should be a little more clear, im talking about from within the CS5 editor, not class reflection.
Basically in the Symbol list, you can search by symbol name. You can also search by linkage name from the menu. I dont see a way to search by what classes are using what symbols, which is crazy useful when you want to refactor somthing. -
All portlet instances disappeared !
and the only error i found in log file is this
####<Jul 8, 2010 3:28:45 PM EEST> <Info> <EJB> <DCVISDEVAPP3> <PortalServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <BEA1-041D296664FBE10BF341> <> <1278592125517> <BEA-010227> <EJB Exception occurred during invocation from home or business: com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_HomeImpl@347fd24a threw exception: javax.ejb.EJBException: SQL Error while trying to username on weblogic: SQL [delete from PF_PORTLET_INSTANCE where PORTLET_INSTANCE_ID in (select PI.PORTLET_INSTANCE_ID from PF_PLACEMENT PL, PF_PORTLET_INSTANCE PI where PL.DESKTOP_INSTANCE_ID = ? and PL.PORTLET_INSTANCE_ID = PI.PORTLET_INSTANCE_ID and PI.INSTANCE_TYPE = ?)] database error code [60] SQL state [61000] 2263.; nested exception is: java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource
>Interesting.
If you are starting multiple managed servers together, you can try it one at a time. You might ask your DBA to enable whatever traces are needed to diagnose deadlocks
regards
deepak -
How can i find all instances of my device?
Hi,
I was wondering if anyone could tell me I can find all the instances of an ethernet card from a C program. At the moment I use a brute force approach, checking for each physical point of attachment by opening the driver /dev/mydriver and doing a putmsg DL_ATTACH_REQ with ppa= 0,1,2,etc., and checking to see if I get a DL_OK_ACK back.
Is there any more intelligent way to find this out?
Thanks in advance,
S.Hi,
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_get_instance(dev_info_t *dip);
ddi_get_instance() returns the instance number of the device corresponding to dip.
The system assigns an instance number to every device. Instance numbers for devices attached to the same driver are unique. This provides a way for the system and the driver to uniquely identify one or more devices of the same type. The instance number is derived by the system from different properties for different device types in an implementation specific manner.
Once an instance number has been assigned to a device, it will remain the same even across reconfigurations and reboots. Therefore, instance numbers seen by a driver may not appear to be in consecutive order. For example, if dev-ice foo0 has been assigned an instance number of 0 and dev-ice foo1 has been assigned an instance number of 1, if
foo0 is removed, foo1 will continue to be associated with instance number 1 (even though foo1 is now the only device of its type on the system).
Refer more information man ddi_get_instance()
Regards,
Senthilkumar
Technical Support Engineer
Developer Technical Support
Sun Microsystems, Inc.
http://www.sun.com/developers/support -
Find all tables used in a stored procedure
Hi,
I have a requirement where i have to find all the tables used in a stored procedures from different databases.
Ex: i have a stored procedure where i use few tables from MASTER database and some from STAGE database.When i have written a query to find all tables used in the stored procedure, i am getting only those database table where i run the query and procedure
exists.
I have stored procedure SP1 in Master database, but i use the tables from both master and stage.
When i run this, i am getting the tables only from Master database but not from stage. i hope my requirement is clear.
I am trying to find all the tables from all databases used by a stored proc.
;WITH stored_procedures AS (
SELECT
o.name AS proc_name, oo.name AS table_name,
ROW_NUMBER() OVER(partition by o.name,oo.name ORDER BY o.name,oo.name) AS row
FROM sysdepends d
INNER JOIN sysobjects o ON o.id=d.id
INNER JOIN sysobjects oo ON oo.id=d.depid
WHERE o.xtype = 'P')
SELECT proc_name, table_name FROM stored_procedures
WHERE row = 1
ORDER BY proc_name
Please adviceYour question is not entirely clear. You need to run the query on different databases.
You may find this blog post helpful
How to get information about all databases without a loop
Check the last script in that blog post and modify to your particular purpose.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles
Maybe you are looking for
-
Export to XDCAM EX3 MP4 Raw container?
I need to playback files on a Sony PMW-EX30 deck and the only file I can find that will play back on it is the raw MP4 container file. As of now I am having to export my project I have edited in Premiere CS5 to an .mov file then import into FCP to ex
-
HT5312 I forgot my security question answers, how do I retrieve or change them?
I forgot my security question answers, how can I retrieve or change them?
-
Hi I have one age field(values eg 10,20,15,12).But report requirement is to have details based on age ranges(eg 0-5,5-10 etc.) Can anyone please tell me how can I handle this with discoverer. Please advice Thanks Pooja
-
Japanese charactor does not display in Script Output window
I usging SQL Developper EA 4.1 on japanese Windows XP. SQL Developper EA 4.1 can not display Japanese charactor in Script Output window. How can I change font for Script Output window?
-
Bootcamp on Lion.!!
i need help to find drivers for mi laptop for win7 ultimate (bootcamp) on OS Lion.