Identifying Current Menu Version in wwv_usr_menus$
Does anyone know how to determine which menu version is the current production version in wwv_usr_menus$ ?
TIA
In the Portal application menu wizard, you can 'Edit as New' from the manage menu UI. This creates a new menu version and row for menu_id in wwv_usr_menus$. You can also select which version (from n number of versions) should be current. Question is :
How do you determine in custom application sql which version is current in wwv_usr_menus$, no 'Active' column, or iscurrent column exists. I've checked following:
1. FK Constraint to wwv_usr_menus$ table = 0
2. Trigger on table for seeding surrogate key only
3. No menu API in PDK documentation, i.e. boolean = iscurrentmenu(menu_id, version);
4. Update_dt column only updated when version is modified, not re-selected as current active version in Menu Manage UI.
5. max(version) returns the last version created, not the current active (production) version.
Code for rendering menu manage page is wrapped, I think the logic is there?
Must be another table (not RI linked) that has current Menu version information.
SO!!!!
64,000 question is 'How do you know (programmatically) which row in portal.wwv_usr_menus$ is current version, or when you click 'Make version 2 as Production Version', what table is updated in portal schema?
tia
Similar Messages
-
How to identify Production Version in wwv_usr_menus
In the Portal application menu wizard, you can 'Edit as New' from the manage menu UI. This creates a new menu version and row for menu_id in wwv_usr_menus$. You can also select which version (from n number of versions) should be current. Question is :
How do you determine in custom application sql which version is current in wwv_usr_menus$, no 'Active' column, or iscurrent column exists. I've checked following:
1. FK Constraint to wwv_usr_menus$ table = 0
2. Trigger on table for seeding surrogate key only
3. No menu API in PDK documentation, i.e. boolean = iscurrentmenu(menu_id, version);
4. Update_dt column only updated when version is modified, not re-selected as current active version in Menu Manage UI.
5. max(version) returns the last version created, not the current active (production) version.
Code for rendering menu manage page is wrapped, I think the logic is there?
Must be another table (not RI linked) that has current Menu version information.
SO!!!!
64,000 question is 'How do you know (programmatically) which row in portal.wwv_usr_menus$ is current version, or when you click 'Make version 2 as Production Version', what table is updated in portal schema?
tiaHi,
I think I have already answered this one. You can get the curent version either from wwv_usr_menus$ or wwv_modules$
select version from wwv_modules$
where id = <module_id>
and status = 'PRODUCTION'
This gives the version of the current production version.
Thanks
Sharmila -
Team , Thanks for looking into this ..
As a last resort on optimizing my stored procedure ( Below ) i wanted to create a Selective XML index ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
Index feature is not supported for the current database version.. How ever
EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
Is there ANY alternative way i can optimize below stored proc ?
Thanks in advance for your response(s) !
/****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- EXEC [dbo].[MN_Process_DDLSchema_Changes]
ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
AS
BEGIN
SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
select getdate() as getdate_0
DECLARE @XML XML , @Prev_Insertion_time DATETIME
-- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
-- PRINT '1'
CREATE TABLE #Temp
EventName VARCHAR(100),
Time_Stamp_EE DATETIME,
ObjectName VARCHAR(100),
ObjectType VARCHAR(100),
DbName VARCHAR(100),
ddl_Phase VARCHAR(50),
ClientAppName VARCHAR(2000),
ClientHostName VARCHAR(100),
server_instance_name VARCHAR(100),
ServerPrincipalName VARCHAR(100),
nt_username varchar(100),
SqlText NVARCHAR(MAX)
CREATE TABLE #XML_Hold
ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
BufferXml XML
select getdate() as getdate_01
INSERT INTO #XML_Hold (BufferXml)
SELECT
CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
FROM sys.dm_xe_session_targets xet
INNER JOIN sys.dm_xe_sessions xes
ON xes.address = xet.event_session_address
WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
--RETURN
--SELECT * FROM #XML_Hold
select getdate() as getdate_1
-- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
FOR
PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
--RETURN
--CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
--SELECT GETDATE() AS GETDATE_2
-- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
--CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
--USING XML INDEX [IX_XML_Hold]
---- FOR VALUE
-- --FOR PROPERTY
-- FOR PATH
--SELECT GETDATE() AS GETDATE_3
--PRINT '2'
-- RETURN
SELECT GETDATE() GETDATE_3
INSERT INTO #Temp
EventName ,
Time_Stamp_EE ,
ObjectName ,
ObjectType,
DbName ,
ddl_Phase ,
ClientAppName ,
ClientHostName,
server_instance_name,
nt_username,
ServerPrincipalName ,
SqlText
SELECT
p.q.value('@name[1]','varchar(100)') AS eventname,
p.q.value('@timestamp[1]','datetime') AS timestampvalue,
p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
FROM #XML_Hold
CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
SELECT GETDATE() GETDATE_4
-- SELECT * FROM #TEMP
-- SELECT COUNT(*) FROM #TEMP
-- SELECT GETDATE()
-- RETURN
-- PRINT '3'
--RETURN
INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
[UserName]
,[DbName]
,[ObjectName]
,[client_app_name]
,[ClientHostName]
,[ServerName]
,[SQL_TEXT]
,[EE_Time_Stamp]
,[Event_Name]
SELECT
CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
ELSE T.nt_username
END
,T.DbName
,T.objectname
,T.clientappname
,t.ClientHostName
,T.server_instance_name
,T.sqltext
,T.Time_Stamp_EE
,T.eventname
FROM
#TEMP T
/** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
-- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
WHERE ddl_Phase ='Commit'
AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
AND MN.[DbName] = T.DbName
AND MN.[Event_Name] = T.EventName
AND MN.[ObjectName]= T.ObjectName
AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
-- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
--SELECT GETDATE()
--PRINT '4'
--RETURN
SELECT
top 100
[EE_Time_Stamp]
,[ServerName]
,[DbName]
,[Event_Name]
,[ObjectName]
,[UserName]
,[SQL_TEXT]
,[client_app_name]
,[Created_Date]
,[ClientHostName]
FROM
[dbo].[MN_DDLSchema_Changes_log]
ORDER BY [EE_Time_Stamp] desc
-- select getdate()
-- ** DELETE EVENTS after logging into Physical table
-- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
-- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
-- SELECT @XML
SELECT GETDATE() GETDATE_5
END
GO
Rajkumar Yelugu@@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
May 14 2014 18:34:29
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
(1 row(s) affected)
Compatibility level is set to 110 .
One of the limitation states - XML columns with a depth of more than 128 nested nodes
How do i verify this ? Thanks .
Rajkumar Yelugu -
Before using the current Mac version Yosemite, I did not have an Administrator password. It seems now that one is required to unlock and make changes in settings. I have tried all my usual passwords but to no avail. any ideas???
Boot into Recovery. OS X: About OS X Recovery - Apple Support
Select Terminal from the Utilities menu.
At the prompt type,
resetpassword
Hit return.
Follow the prompts in the utility to select hard drive, then user.
Reset the password.
Exit the utility and restart.
You will need to log in with your new password, but your keychain will not be reset.
I’m not sure what access you’ll have to the old keychain since it didn’t have a password. You may be able to get into the keychain and reset the password to match your login password. -
How do I update Safari? I'm currently running version 5.0.6
How do I update Safari? I'm currently running version 5.0.6
You need to upgrade the OS. Choose About this Mac from the Apple menu and check the processor.
If it's a PowerPC Mac, it's already running the newest OS it can.
If it's a Core Duo Mac, click here, install the DVD, and run Software Update.
If it's a Core 2 Duo or better Mac, upgrade it as if it was a Core Duo Mac, and once done, if desired, open the Mac App Store and try downloading Yosemite. If you get told it's incompatible, go to the online Apple Store and order a download code for Lion 10.7.
Mac OS X 10.7 and newer don't support PowerPC software such as Microsoft Office 2004. If you upgrade the OS, back up the computer first.
(116426) -
Trying to update iTunes and I get the error - "errors occured while installing the updates. If the problem persists, choose Tools > Download only and try installing manually". Currently on version 10.5.3.3 trying to update to 11.0.2 on a Windows 7 64-bit.
Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
http://www.apple.com/itunes/download/ -
I have spend innumerable hours downloading new versions of Firefox. They never apply/appear in my system. It was suggested that I completely uninstall the current v. 3.6.2 from my system, and then install the latest FF as if I'd never had it. Is this possible? What might I lose as a result?
Firefox 29 should work with Mac OS X 10.6
*http://www.mozilla.org/en-US/firefox/29.0.1/system-requirements/
If there are problems with updating or with the permissions then best is to download the full version and trash the currently installed version to do a clean install of the new version.
Download a new copy of the Firefox application and save the disk image file to the desktop
*Firefox 29.0.1: http://www.mozilla.org/en-US/firefox/all.html
*Trash the current Firefox application (open the Applications folder in the Finder and drag the Firefox application to the Trash) to do a clean (re)install
*Install the new version that you have downloaded
*https://support.mozilla.org/kb/Installing+Firefox+on+Mac
Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.
*http://kb.mozillazine.org/Profile_folder_-_Firefox -
Hello I have this message "The tag name: "embed" Not found in
currently active versions.[XHTML 1.0 transitional]" appear when I
validate one of my pages in my site, the page contains a flash
picture/animation. Please can anyone explain how I can correct this
error?
The tag name: "embed" Not found in currently active
versions.[XHTML 1.0 transitional] this is in relation to:
"<embed src="Map.swf" quality="high" pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="536"
height="437"></embed>"
Any help would be appreciated.
Thanks Steve> how I can correct this error?
You don't. You ignore it. The <embed> tag is not valid
HTML, but it is
required to have reliable rendering of your Flash across
various browsers.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Steve@FHS" <[email protected]> wrote in
message
news:fcm6ss$kvs$[email protected]..
> Hello I have this message "The tag name: "embed" Not
found in currently
> active
> versions.[XHTML 1.0 transitional]" appear when I
validate one of my pages
> in my
> site, the page contains a flash picture/animation.
Please can anyone
> explain
> how I can correct this error?
>
> The tag name: "embed" Not found in currently active
versions.[XHTML 1.0
> transitional] this is in relation to:
>
> "<embed src="Map.swf" quality="high"
> pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
> n=ShockwaveFlash" type="application/x-shockwave-flash"
width="536"
> height="437"></embed>"
>
> Any help would be appreciated.
>
> Thanks Steve
>
> -
I have an I Pod Nano and would get messages to update my software. In my I Tunes I have 1,900 songs but after the updates it will only sync 933 songs. My current software version is 1.0.2. What am I doing wrong or is it something in the software. I have not done anything different in my I Tunes and all songs are checked. Could someone please help or advise me what to do?
Thank you Gail, but not to be ignorant but can I send you a print screen on what I am looking at. I will try am explain what I see: I hooked up my I Pod Clicked on Music checked Sync Music 1909 Songs select Playlist, Artists, albums, and genres checked Include music videos Playlists checked 50's Music checked 70's Music checked 80's Music checked 90's Music checked 2000 Music checked 2010 Music These are songs that I downloaded onto my I Tunes. I bought me a new computer but when my data was transferred from old computer to new computer a lot of my songs on my hard drive were lost, but they were able to save all my songs on I tunes. My I Pod is still connected Clicked on "On this Ipod" Music 938 Songs 2.2 days So my question to you is if I have 1,909 songs on my ITunes how come only 938 transferred to my IPod. I checked my IPod and it shows only 938 songs transferred. This did not happen before until I Tunes asked me if I wanted to update to a newer version. Last month I did have all my 1,909 songs on my I Pod. I hope this explains what I am asking
-
How to get current process version when photos imported?
I have Lightroom 5 but my photos are still imported with the old process version (2010) How can I get the current process version (2012) to be applied automatically on my imported photos?
Hi Andreas,
Did you ever get an answer to your problem?
I am facing the same issue now and i cannot get a lead.
Thanks,
Dimitris -
HT4623 What is the most current iOS version for iPhone 3G?
I have an iPhone 3G, what is the most current iOS version? I have 4.2.1 and when I tried to update, iTunes says that I have the current version. I can't seem to download any apps with 4.2.1.
That is correct,
The last release of iOS to support the 3G model was 4.2.1, released on November 22, 2010
The 3G model is now 4 and half years old. -
"cfajaximport" Not found in currently active versions
Dear all
First I want to say I am very begginning.
My problem is when I want to use some RIA sample appliaction
(from adobe site) which is using some AJAX feature I have unknown
runtime error during data saving. I have information that "The tag
name: "cfajaximport" Not found in currently active versions. " What
is it mean and how to resolve it?
I have ColdFusion 8.0.1 (developer edition), IE6.0
Thank you in advance for helpI was about to type up a long answer on the fist thing to
check, and I
found this blog that does it all for me.
http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/13/CF8-AJAX-Features-CFIDES cripts-and-CFAjaxImport
To summarize, you need to make sure the CFIDE/scripts/ folder
is
properly accessible. You should be able to type the following
URL into
a browser, unless you have your site configured in a
non-default manner.
http://yourDomain/CFIDE/Scripts/cfform.js
I.E.
http://localhost/cfide/scripts/cfform.js
on *my* development server.
If that does not return a file, then none of the built in
ColdFusion
form or AJAX functionality is going to work. -
Does current Muse version actually require 64bit Windows?
Hi. Does the current (latest) version of Muse actually *require* a 64bit version of Windows? Is there absolutely no way to run current Muse on my 32bit Windows 7 SP1 machine?
I thought Adobe Air was 32bit... ?
thanksYes, it's only 64 bit. It no longer runs unfer the Air platform, it's a native application.
-
Does the current WebKit version in Air SDK 3.5 support Uint8Array or any bufferArray stuffs? If not, is there an alternative or workaround solution so I can reuse some javascript routines that requires bufferArray like Uint8Array...? Thanks in advance.
You needed to use SDK 5.1 or later. AIR uses 6.0 or 6.1 now, so Retina is ok without any special tricks.
-
I keep trying to download newest version of Firefox but when I try to move it into applications I get the error message that I cannot do this because "I do not have sufficient privelelges" and then I can go no further. I do not know any more.
The educatd guesses below are correct.
Using a Mac
This happens on my other Mac as wellIf there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
*Firefox 9.0.x: http://www.mozilla.com/en-US/firefox/all.html
*Trash the current Firefox application to do a clean (re-)install
*Install the new version that you have downloaded
Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Maybe you are looking for
-
PI 2.0 Manager Report for Alarm Assignments and Acknowledgements
Is there a Prime Infrastructure 2.0 manager report that shows daily alarms, who the alarms were assigned to and when they were acknowledged? I can't find anything on the tool or in the documentation and this is required to prove compliance in the fin
-
Flex not scaling properly on Macbook Pro Retina Display
Hello all! I'm currently writing an app in Flex on Flash Builder on a late Macbook Pro 15 Retina display. In my WindowedApplication, I've set the tags width and height to be 1920 and 1080 respectively. For some reason, when running debug, the applica
-
HOW TO MAKE THE FIELDS ON TABLE CONTROL SCREEN FIXED!!
Dear all, Can you please tell me as to how to make the fields on the table control screen fixed (not respond to the scroll bar) i.e. simillar to MC88 screen , the first two fields are fixed and don't respond to the scroll. Please Help!!!! Vj
-
This should be simple, but I can't wrap my head around it. A user inputs their zip code into a page. A list of nearby zip codes is returned from the database, separated by commas. No problem, that part's done. I want to take that list of zip codes an
-
hi sap gurus can anybody clear about the project cost analysis thank you venkatareddy