How to track the CqPage using stats.jsp
Hi,
I have added the stats.jsp in the head of the template
<cq:include script="/libs/foundation/components/page/stats.jsp" />
but how can i track the page viewed ?
Thanks in advance
Sumit
Hi,
You can see the impressions on CQ console but just gives you the count and i think there is no OOTB tool available. So if you want to take look into complete report then probably you have to write your own custom tool using CQ API
final PageViewStatistics pwSvc = sling.getService(PageViewStatistics.class);
pwSvc.report(page);
some other page related report but not similar can find - http://<host>:<port>/etc/reports/auditreport.html
Thanks,
Pawan
Similar Messages
-
How to Track the table using Trigger or any other Object
Hi Folks
I need to audit Inserts, deletions, updates to inserted into other tracking table. I was planning on using a trigger to do this,
Can you please help me how can I wright code for trigger for this. or else using any other object we can do this operation.
can you please help me thanks in advance.
Thank in advance.Also you can use an OUTPUT clause ( need to modify your DML operations)
create table itest ( i int identity not null primary key, j int not null unique )
create table #new ( i int not null, j int not null)
insert into itest (j)
output inserted.i, inserted.j into #new
select o.object_id from sys.objects as o
select * from #new
drop table #new, itest;
go
The example below shows code that uses OUTPUT clause in UPDATE and DELETE statements to insert rows into an audit table.
create table t ( i int not null );
create table t_audit ( old_i int not null, new_i int null );
insert into t (i) values( 1 );
insert into t (i) values( 2 );
update t
set i = i + 1
output deleted.i, inserted.i into t_audit
where i = 1;
delete from t
output deleted.i, NULL into t_audit
where i = 2;
select * from t;
select * from t_audit;
drop table t, t_audit;
go
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
How to track the history of supplier sites used for tax reporting (1099)
Hi,
Oracle financials doesn't allow two supplier sites setup as tax reportable sites (Unless one is inactive). Suppose if the supplier uses site1 for the year 2009 and site 2 for 2010 and now there is site3 setup as tax reportable. All three sites were setup in 2009 and all three sites are active. Supplier chosen different sites for each year as their tax reportable site.
How do we know which site oracle used to send 1099 for 2009 & 2010? How to track the history of supplier sites used for tax reporting (1099) in previous years?
Thanks in advance.
Regards,
RamWould the begin_date, end_date and status columns on HZ_PARTY_SITES_USES be any good? Our R12 installations is too new to have accumulated much data yet, but I would look in those columns first.
-
How to track the flow of Sharepoint SSRS report requests to troubleshoot slowness
How to track the flow of requests of Integrated SSRS report links in Sharepoint.
We are using SSRS with Sharepoint for reporting purpose. The issue is some of the reports get generated fast and some other reports generation is very slow. When the sql query of these reports RDL file is executed, the records are shown fast.
Also even on clicking the "Add Subscription" link of "Manage Subscriptions" of a report is very slow for some reports, while it is fast for other reports.
I tried enabling SQL profiler to track the requests. I have checked profiler log for the SQL statements with exec sp_executesql. But they are not helpful.
Pls advice on how to track the request of flow of SSRS report request in sharepoint and how to troubleshoot the slowness in "Add Subscription" link, response of some reports.Hi Pradeesh,
According to your description, my understanding is that you want to track SharePoint SSRS report requests to troubleshoot the performance.
Developer dashboard is very help full while troubleshooting the issues related to performance in SharePoint 2013. You can have a try.
About Developer dashboard, you can refer to the links:
http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html
http://msdn.microsoft.com/en-us/library/office/ff512745(v=office.14).aspx
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
How to tracke the new entries in database table ?
Hi,
How to tracke the new entries in database table ? is there any FM or report is there to check it ?
regards
vishnuHi Vishnu,
u can write a report program for this and in that use the event :
AT NEW <field-name> ( use primary key)
your statements
ENDAT
for eg.
loop at itab ( herfe itab must be of type of table for which u want to track new entries)
at new matnr
write:/ new record
endat
endloop.
schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
regards
Vinod -
How to track the flow of data from R/2 to BI ?
Hi Experts,
Question: How to track the flow of data from R/3 to BI ?
I want to load master data from R/3 to BI. In BI, i create an infopackage to load data from R/3. Under processing tab i set it as "PSA and then in the InfoObject (package by package)". Its a Full update.
Now, i start the update to InfoObject. The load goes on well.
Now, i want to track the flow of data from the master data table in R/3 to Datasource in R/3 then Extractors and then in the PSA in BI and then till the InfoObject. That is the complete flow of data from source table (in R/3) to Target table (in BI).
Please help me know how this can be done. (For example lets take cost element master data)
Regards,
Suraj S NairHi,
Data flow :
BW :
When u right click on the Master Data Info object -> Select Data flow.Then it will show u the details like DS name,IS (If 3.x)
Once u know the DS then you need to find out the source tables for the R/3 DS.This information will get using ROOSOURCE or ROOSFIELD tables or help.sap.com.
My suggestion better to search in Help site for DS source tables.
DS Tables :
The following link will provide you the source tables for some of the LO DS.
https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
Regards
Ram.
Edited by: Ramakanth Deepak Gandepalli on Dec 22, 2009 9:29 AM -
How to track the login time and logout times of clients
hai
please give me the solution
suppose there are 5 systems connected in LAN.
how to track the login time and logout times of clients
for a given time(may be one day or 1 hour) using any programming language.
please give me the solutionWhen the client logs in you write the client's ID and the current time to a database. Likewise when the client logs out. Assuming of course that you have a program that knows when those events occur.
-
Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
Thanks!Divya - I have done it in the past following these documents. Please read it and try it it will work.
Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
thanks!
Jason PV -
How to put the trace messages in JSP DynPage
Hi,
How to put the trace messages in JSP DynPage components. What settings I need to do and where do I see the trace log.
Can I also print the values of some variables in trace. If yes, how to achieve this?
Thanks in advance,
Regards,
MadhuHi Madhu,
for NW04 see http://help.sap.com/saphelp_nw04/helpdata/en/e2/75a74046033913e10000000a155106/frameset.htm
as well as
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using logging and tracing on the sap web as java.pdf
Hope it helps
Detlev -
How to remove the Sessions used in the application
Hai Techies,,,
i am using many number of sessions in my application, for example i am using 5 sessions in reports module
my application is a web based application
if can't remove the sessions it contains the huge amount of data , my application is going into mess, and the application performance will be decreased..
Can anybody tell the solution for this Problem
How to remove the Sessions used in the application
Hoping a reply
Thanks & Regards
Krishna mangamuriHai Gita,
i am not able to do the session invalidate method bcoz, i am mainatainting the session from login along with the current userid who is login into the system and putting some of the data in session....
thats session is to be valid upto when i click on logoff link
except that i have to remove the sessions in my application
while navigating from one jsp to another i have to remove the sessions, bit somes times that sessions may be used somewhere
Can u Understand My problem
session remove method may also helpful to me but some times it will casue some prob to me
Is there any other Way to remove the sessions in the Application ????
Thanks & Regards
Krishna Mangamuri -
How to access the hidden variable in jsp
hi all,
i need help to know how to access the hidden variable in the same jsp.
Following is the code snippet just have a look at that.
ArrayList arrRankingSummary = (java.util.ArrayList)session.getAttribute("arrRankingSummary");
<logic:iterate id="rankingSummary" name="arrRankingSummary">
<input type="hidden" name="allApplicantID" value='<bean:write name="rankingSummary" property="APPLICANTID"/>' />
<input type="hidden" name="allAdmissionRank" value='<bean:write name="rankingSummary" property="ADMISSIONRANK"/>' />
</logic:iterate>
<input type="hidden" name="applicantID" value='<bean:write name="rankingSummary" property="APPLICANTID"/>' />
<TD align=center><Input type=Text name="admissionRank" class=Textverysmall size=2 value='<bean:write name="rankingSummary" property="ADMISSIONRANK"/>' maxlength="10" /> </TD>
I want to remove the element from arraylist on these condition
if(allApplicantID.value ==applicantID.value){
arrRankingSummary .remove("admissionRank");
Now the pbm is i m not getting how to access the hidden variable in jsp or how to use the values of hidden variable for the condition.
Pls help me out.
Thanks in adv.
Regards,
Rituhi ram,
as i mentioned i m creating hidden variables & i m doing some validation on form submit.
The following is js code snippet for validation.
for (var i = 0; i < document.forms[0].admissionRank.length; i++)
admissionRank = document.forms[0].admissionRank.value;
for(var j = 0; j < document.forms[0].allAdmissionRank.length; j++)
//alert ("admissionRank : " + admissionRank + " document.forms[0].allAdmissionRank[" + j + "].value : " + document.forms[0].allAdmissionRank[j].value + "\ndocument.forms[0].allApplicantID[" + j + "].value : " + document.forms[0].allApplicantID[j].value + " document.forms[0].applicantID[" + i + "].value : " + document.forms[0].applicantID[i].value);
if(admissionRank == document.forms[0].allAdmissionRank[j].value && document.forms[0].allApplicantID[j].value != document.forms[0].applicantID[i].value && admissionRank != "" && document.forms[0].allAdmissionRank[j].value != "")
flag = false;
document.forms[0].admissionRank[i].focus();
document.forms[0].admissionRank[i].select();
break;
if (flag == false)
break;
In this validation i want admissionRank to be removed from the original arraylist if following condition gets satisfied
"(document.forms[0].allApplicantID[j].value == document.forms[0].applicantID[i].value )"
Thanks in adv
Ritu -
I have lost my iPhone 5 , 64 GB ..how to track this device useing
i have lost my iPhone 5 , 64 GB ..how to track this device using IMEI no..Plz help
You cannot track with the imei number it is not possible. The only way to track is to install find my phone and have that turned on and then you can track the phone on icloud.com but only if the phone is on and has internet
-
How to increment the date using sequence?
how to increment the date using sequence?
01-jan-10
02-jan-10
30-jan-10794244 wrote:
how to increment the date using sequence?
01-jan-10
02-jan-10
30-jan-10This doesn't look like a task where a sequence is usefull.
A sequence is a number generator that guarantees that multiple sessions will all get a different number.
Even if the sequence is fetched for differnent users (=sessions) that the same time.
This in turn means that the value returned by the sequence will depend on actions done in other sessions.
Typical task: create a new unique primary key number. The number MUST be different in all sessions.
In your case I guess that the same logic should work regardless of the session that executes it. So you need a "number generator" that works indepented from other session values. There are several ways to create such a numbered list.
The basic idea is to create a select statement that simply returns as many rows as you need. And then use ROWNUM as the number generator. Examples how to do this have already been given. LEVEL works also in hierarchical queries.
if my interpretation of your requirement is right, then all answers that really used a sequence seem to be wrong. Even if the output looks ok. At best they are just slow. To create new sequence values is a complex task and the database needs a little time for all the synchonization issues that come with it. At worst it will have gaps in the sequence because other sessions used the same value while the numbers were created.
Edited by: Sven W. on Sep 20, 2010 2:08 PM -
How to log the exception using Log action in Oracle Service Bus
Hi,
Whenever an exception is raised how to log the exception using Log action in oracle service bus.After logging where I have to find the logged message.It would be in the log file for the managed server which ran the request. If you are logging the message at a lower level than your app server, however, you won't see it. You should be logging the exception at Error level.
-
How to get the workcentres used in the routing out of 2 alternate routings
Dear All,
I would like to know how to get the workcentres used in the routing out of 2 alternate routings.
I referred PLKO got the Task List Type (PLNTY), Group(PLNNR), Group Counter(PLNAL), Plant(werks).
I passed this in to PLPO, The problem in PLPO is we dont have the distinguishing field Group Counter(PLNAL), so I am getting all the ARBID including both alternates.
How to get the ARBID with respect to Groupcounter 1 alone.
If a get the ARBID , I can get the ARBPL from CRHD.HI,
Use PLAS Table also. you have to use PLKO> PLAS> PLPO.
Pass PLNNR & PLNAL in PLAS and get PLNNR & PLNKN.
Then pass these into PLPO.
work centers from CRHD
Regards,
Krishna Mohan
Edited by: Krishna Mohan N on Jan 31, 2008 12:28 PM
Maybe you are looking for
-
How do i make a single connection to handle video, audio and chat
I'm developing an application and i want to make one single connection for video(netstream) and chat(sharedObject). I have one connection for each but i have limited connection availeble in the server so i need to make a single connection to handle t
-
This might not be the correct place to apply this question but it does really have to do with the Voltage setting in my board's BIOS. I have a Nvidia Geforce4 ti4200 128mb ddr agp card. I have my settings set to auto in my bios. I was reading the man
-
IPod will not respond. I'v tried everything!
I tried to reset it. I tried a different usb port. I restored it. I updated it. I updated my iTunes. It responds to the hold switch. It shows up in iTunes. I can load music on to it. Just it won't respond the the wheel and select button. What else sh
-
Is there really NO way to videoteleconference Mac to PC?
I've looked around in discussions and after downloading AIM (and THEN reading that the newest release is not talk-capable) it seems that there is no cross-compatible voice and videoteleconferencing software - is this the case? Please help - I really
-
Offline usage without Internet connection
I have Power View for Excel 2013 file on O365 site. This is production environment. There is no Gateway. Currently Power BI reports on Windows 8.1 device requires internet connection to use. I have defintely need for situation where device have no in