Mixed results from HR EBS Security Profile in new Discoverer 11g EUL
Hello,
We’ve recently implement a new Discoverer 11g (11.1.1.4.0) APPS MODE EUL against out R12.1.3 EBS application.
In HR EBS we have Security Profiles that limit data access against some responsibilities( No Sr. Exec or HR personnel).
We are seeing mixed results in Discoverer when accessing Shared Workbooks using these responsibilities.
Let’s say I’m viewing workbooks that return Current Employee Salary details. For some the data is filtered as expected. For others, all rows are being returned!
Any ideas on why we’re seeing this behavior and what the resolution might be?
Thank you ahead of time for you help.
Rich
Hi Rod,
Thanks for the reply!
I think I understand what you are saying but let me provide some more detail and we'll see if this still applies.
Yes. We are using custom responsibilities designed against the HR application.
The user is accessing workbooks through Discoverer Viewer. They are not logged into EBS application. They are logging directly into Discoverer View and are selecting the Limited Inquiry responsibility (As far as I know there is know way to switch resp once logged in so the security profile should be applied).
In this session, the user opens one workbook and the security options are applied, with limited data being returned. Great.
Close that workbook and open another. This time the security options are not applied, with all rows data being returned.
Any ideas?
Best Regards,
Rich
Similar Messages
-
How to Get the Unique Key results from OWB Tables after Profile
Hi,
We are using OWB 10gR2(Paris) Beta Version.
In this version the new feature is introduced is Data Profiling.
We are using this feature to analylize the data in terms of stanadards.
We have done profiling for our tables and we are able to see the results for each table in OWB Profile Results Canvas. In this window one Unique Key tab is there to see the Unique results.
Now my question is where these results will be stored in standard tables of OWB. I want to know those exact standard tables to extract thoes Unique results in to my reports.
After profiling we are generating HTML-DB reports to view all these profile results. But we are not able to find the Uique Key tables where these results are stored.
So pls can anybody provide help on this to get these tables...
Thanks in advance...,
Ramesh P.You can use DatabaseMetaData#getPrimaryKeys.
-
Change default security settings for new Discoverer users? How?
Hello, using Discoverer 10g with SSO integration.
I've created two roles and create in advance users in the DB user, granting them
one of the two roles. The two roles privileges for Discoverer are already configured.
This way, when I create the user in the DB before launching Disco, granting the user one or the other role, I should be all set about what the user can or cannot do on Discoverer (Plus).
So far the theory :)
The problem is that the full permission given by Discoverer to each new user override the role settings, so each new user can do everything (instead one of the roles forbids saving and sharing, for example).
I have to go to Disco Admin and uncheck the "Plus/Viewer" checkbox for the user to make roles actually work as expected.
How can I set Discoverer user default as "Cannot do anything" on Plus/Viewer so that roles apply without further admin intervention?
Thanks
MarioThanks a lot Rod.
The problem here is we need to allow portal users the ability to access Discoverer Plus without using Disco Admin: once a user is registered in the SSO, he should be able to connect successfully to Discoverer.
So we need creating user privileges on behalf of Disco Admin.
Tough job, but it seems it ca be done.
Regards,
Mario -
I keep getting messages from Norton security that there has been an attack that has been blocked. It is accompanied by the message that 'the attack was resulted from device/harddiskvolume2/programfiles/mozillafoxfire/foxfire.exe Why is this happening so frequently? Also I was getting a message every time I closed my browser window that Firefox had crashed (even though it had not), and it wanted to send a message to Mozilla.
== This happened ==
Every time Firefox opened
== Two days agoI did some searching and found http://community.norton.com/t5/Norton-Internet-Security-Norton/repeated-quot-intrusion-attempt-quot-alerts-from-Norton-AV-2010/m-p/232823
Maybe that will help? Did you come across a website that said was scanning your computer for viruses? Those websites are really attack sites. -
How to restrict employees from accessing managers data using custom security profile
Hi,
I am using custom security profile for restricting the employees from accessing supervisors details(PG.SEGMENT2=4). I have written the custom code as below :
Responsibility :US Super HRMS Manager
ASSIGNMENT.PERSON_ID
IN
(SELECT PAF.PERSON_ID FROM PER_ALL_PEOPLE_F PAF,
PER_ALL_ASSIGNMENTS_F PF,
PAY_PEOPLE_GROUPS PG,
PER_PERSON_TYPE_USAGES_F PPU,
FND_USER FNU
WHERE PAF.PERSON_ID=PF.PERSON_ID
AND :EFFECTIVE_DATE BETWEEN PAF.EFFECTIVE_START_DATE
AND PAF.EFFECTIVE_END_DATE
AND PF.PEOPLE_GROUP_ID=PG.PEOPLE_GROUP_ID
AND :EFFECTIVE_DATE BETWEEN PF.EFFECTIVE_START_DATE AND PF.EFFECTIVE_END_DATE
AND PPU.PERSON_ID=PAF.PERSON_ID
AND PPU.PERSON_ID=PF.PERSON_ID
AND :EFFECTIVE_DATE BETWEEN PPU.EFFECTIVE_START_daTE AND PPU.EFFECTIVE_END_DATE
AND PAF.PERSON_ID=FNU.EMPLOYEE_ID
AND PAF.PERSON_TYPE_ID =2
AND PPU.PERSON_TYPE_ID
IN(2,62)
and PAF.person_id = FND_PROFILE.value('user_id')
AND PG.SEGMENT2=8)
and using "restrict the people visible to each other using this profile".
I have assigned the security profile to HR user responsibility
But when I query the supervisor name in HR User responsibility , it is not restricting me from viewing supervisor details.
When I query for first time, its restricting me to view others details, but when I close that click on torch button and try searching, its allowing me to access manages details.
Can any one please let me know what setups need to be done for restricting employees from viewing supervisors data.
I have gone through the document "Understanding and Using HRMS Security in Oracle HRMS" but didn't got any idea.
Please suggest.
Thanks & Regards,
Anusha.Hi All ,
i solved the problem by using event 01 of header view and using the table "Extract" .
Regards,
Neha -
Importing custom created security profiles from a .csv or .xls document
Hi Experts,
We have a prerequisite where we need to create custome security profiles as per the requirement.
These security profiles I have created in an excel sheet and wish to import it in the server.
The reason behind creating the security profiles through excel sheet is that in the future we will be working on a new server. So instead of doing any rework we can directly import from this excel sheet.
For creating a security profiles through an excel sheet, I have mentioned the following things in the excel sheet.
1. In a "eso_security_profiles" i have mentioned the profile name,description,internal ID, etc..
DISPLAY_NAME DOCUMENT_DESCRIPTION INTERNAL_NAME CATEGORY COLLAB_PROFILE INTERNAL_TYPE RESTRICTED
DISPLAY_NAME:Category Manager
DOCUMENT_DESCRIPTION : This profile is for the user who has full rights only at project business document but cannot approve and have no access rights to the master data
INTERNAL_NAME : fci.profile.doc.category_manager
CATEGORY : BUYSIDE
COLLAB_PROFILE : TRUE
INTERNAL_TYPE :
RESTRICTED :
2. And in the "eso_security_rights" I have mentioned the access rights as per requirement.
RESOURCE SECURITY_PROFILE ALLOW_PERMISSIONS DENY_PERMISSIONS
rfx.RFXDoc fci.profile.doc.wft_category_manager ODP_READ
Please give some inputs on this. Am not sure if what I have done is the right way.
Thanks.
Vaishali.Hi Vaishali,
I understand that you need these security profiles in another server going forward. I would suggest another way around rather.
Please create the Security profiles in SAP Sourcing itself, then export the OMA file. When you move into another server please import this OMA file. This will serve the purpose of having the new security profiles in the new server.
If you are modifing something in the workbook, then you should carefully review field details. As I am not sure which version of SAP Sourcing and details of workbook, so I would suggest the above way to try out.
Hope this helps
Thanks
Jagamohan -
Mapping Apps security profiles in Discoverer
Hello
We wish to implement a 2-tiered security architecture. We already have the 1st tier in place in Disco Admin by assigning specific Business Areas to responsibilities.
However, we also want to use the Apps custom Security Profiles to restrict access to tables and views through Discoverer Admin.
How can this be implemented? Any examples would be most welcome.
Thanks
Sanjib Manna
Oracle Practice
IBM Business ConsultingYou can use the following query to look for all the security profiles. You can join the hr_operating_units to fnd_profile_option_values.level_value to get the desired result.
SELECT psp.security_profile_name,
psp.security_profile_id,
hou.NAME,
hou.organization_id
FROM per_security_profiles psp,
per_security_organizations pso,
hr_operating_units hou
WHERE pso.security_profile_id = psp.security_profile_id
AND pso.organization_id = hou.organization_id;Additionally, you can also have a look at the below MOS docs.
How To Check If a Profile Option Is Set In Oracle Applications? [ID 470102.1]
How to Search all of the Profile Options for a Specific Value [ID 282382.1]
How To List E-Business Suite Profile Option Values For All Levels Using SQLPlus [ID 201945.1]
Script To List The Values Of A Profile Option At All Levels [ID 803587.1]
How to Search all of the Profile Options for a Specific Value [ID 282382.1]
How To Find All Users With A Particular Profile Option Set? [ID 367926.1]
How to Change Profile Option Value Without Forms? [ID 943710.1]
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies. -
Hi- novice here. I do this: select security_profile_id, security_profile_name
from per_security_profiles
If I do the above query, I get values like:
1508 SECCPF5O
1509 SECCPF5P
1510 SECCPF5R
1511 SECCPF5T
1512 SECCPF5V
1513 SECCPF5W
1514 SECCPF5X
These are security profile names. My client uses these to decide what data a user can see when they log in. What the custom code is doing is comparing that security profile name (formerly secure_oracle_username in 10.7) with the user that is logged in and lets the user see specific data based on this.
The thing is, user names are not the above SECC% name. I need to know where in the database (tables or forms) I can find the relation between who is logged in (user name) and the security profile for each. Is there a table to coorolate the two? I assume all users have a security profile attached to them correct? Is there a form I can navigate to in order to see/assign this? If so, I can examine that form and find the tables.
Thanks in advance for your input.Pl post details of OS, database and EBS versions.
Pl see if these MOS Docs can help
Understanding and Using HRMS Security in Oracle HRMS (Doc ID 394083.1)
Secure Users Functionality in Release 11 (Doc ID 50850.1)
You Have Installed, Now Before You Setup, Read This! - HR Shared (Doc ID 116376.1)
More information is in the "Oracle HRMS Configuring, Reporting, and System Administration Guide" for your release at http://www.oracle.com/technetwork/documentation/applications-167706.html
HTH
Srini -
IMac (Early 2009) always wakes from sleep after Security Update 2010-001
I posted this already in the Snow Leopard section, but wasn't able to get a resolution to the problem:
http://discussions.apple.com/thread.jspa?threadID=2309613&tstart=0
I tried all the suggested things, but my iMac still always wakes from sleep and this never happened before the 2010-001 security update. I was asked to paste the console log entry from when this happens, so here it is:
28/01/2010 08:57:47 kernel Wake reason = OHC2
28/01/2010 08:57:47 kernel System Wake
28/01/2010 08:57:47 kernel Previous Sleep Cause: 5
28/01/2010 08:57:47 kernel USB (OHCI):Port 1 on bus 0x6 has remote wakeup from some device
I'm wondering if others have seen this and if so know of a solution. At the moment I'm stuck with having to shutdown my iMac every time I leave it. Thanks.Here is a solution that should work:
1. Turn off all Bluetooth devices connected to your computer.
2. Make sure Bluetooth icon in the Menu Bar is black (BT is On) and BT is not connected to anything
3. Plug in a USB mouse
4. Go to System Preferences>Bluetooth>Advanced
5. The option to "Allow Bluetooth devices to wake this computer" should now be uncheckable>Uncheck it and click OK
6. Turn on your Bluetooth devices and let them connect to your Mac
7. Try and put your Mac to sleep and then wake with the power button
8. Check if the "Allow Bluetooth devices to wake this computer" option is still unchecked (it should be)
9. Try and restart your Mac and check again if the "Allow Bluetooth devices to wake this computer" option is still unchecked (I had mixed results with this test, depending on the type of the Mac being tested)
Anyhow, this way you should be able to uncheck the option that causes the issue and it should not get checked again by itself unless you restart your computer and maybe even after that. If it does get checked again after reboot, just get used to putting your Mac only to sleep until a fix from Apple is available or repeat the above process after every reboot if necessary.
Hope this helps.
Marian -
Security profiles attached to an User
Hi Gurus,
Can anyone Help me out with the process to know, What all Security profiles are attached to an user in Oracle Apps HRMS.
or
any query available to know, What all Security profiles are attached to an user in Oracle Apps HRMS.
Thanks in AdvancesYou can use the following query to look for all the security profiles. You can join the hr_operating_units to fnd_profile_option_values.level_value to get the desired result.
SELECT psp.security_profile_name,
psp.security_profile_id,
hou.NAME,
hou.organization_id
FROM per_security_profiles psp,
per_security_organizations pso,
hr_operating_units hou
WHERE pso.security_profile_id = psp.security_profile_id
AND pso.organization_id = hou.organization_id;Additionally, you can also have a look at the below MOS docs.
How To Check If a Profile Option Is Set In Oracle Applications? [ID 470102.1]
How to Search all of the Profile Options for a Specific Value [ID 282382.1]
How To List E-Business Suite Profile Option Values For All Levels Using SQLPlus [ID 201945.1]
Script To List The Values Of A Profile Option At All Levels [ID 803587.1]
How to Search all of the Profile Options for a Specific Value [ID 282382.1]
How To Find All Users With A Particular Profile Option Set? [ID 367926.1]
How to Change Profile Option Value Without Forms? [ID 943710.1]
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies. -
Hi,
I want to setup an outpund hybrid search for SharePoint 2013 on-premise to SharePoint Online.
But I'm not shure if this works with ADFS SSO.
Has somebody experience with this setup?
Here's my guide which I'm going to use for this installation:
Introduction
In this post I'll show you how to get search results from your SharePoint Online in your SharePoint 2013 on-premise search center.
Requirements
User synchronisation ActiveDirectory to Office 365 with DirSync
DirSync password sync or ADFS SSO
SharePoint Online
SharePoint 2013 on-premise
Enterprise Search service
SharePoint Online Management Shell
Instructions
All configuration will be done either in the Search Administration of the Central Administration or in the PowerShell console of your on-premise SharePoint 2013 server.
Set up Sever to Server Trust
Export certificates
To create a server to server trust we need two certificates.
[certificate name].pfx: In order to replace the STS certificate, the certificate is needed in Personal Information Exchange (PFX) format including the private key.
[certificate name].cer: In order to set up a trust with Office 365 and Windows Azure ACS, the certificate is needed in CER Base64 format.
First launch the Internet Information Services (IIS) Manager
Select your SharePoint web server and double-click Server Certificates
In the Actions pane, click Create Self-Signed Certificate
Enter a name for the certificate and save it with OK
To export the new certificate in the Pfx format select it and click Export in the Actions pane
Fill the fields and click OK Export to: C:\[certificate
name].pfx Password: [password]
Also we need to export the certificate in the CER Base64 format. For that purpose make a right-click on the certificate select it and click on View...
Click the Details tab and then click Copy to File
On the Welcome to the Certificate Export Wizard page, click Next
On the Export Private Key page, click Next
On the Export File Format page, click Base-64 encoded X.509 (.CER), and then click Next.
As file name enter C:\[certificate
name].cer and then click Next
Finish the export
Import the new STS (SharePoint Token Service) certificate
Let's update the certificate on the STS. Configure and run the PowerShell script below on your SharePoint server.
if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
# set the cerficates paths and password
$PfxCertPath = "c:\[certificate name].pfx"
$PfxCertPassword = "[password]"
$X64CertPath = "c:\[certificate name].cer"
# get the encrypted pfx certificate object
$PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
# import it
Set-SPSecurityTokenServiceConfig -ImportSigningCertificate $PfxCert
Type Yes when prompted with the following message.
You are about to change the signing certificate for the Security Token Service. Changing the certificate to an invalid, inaccessible or non-existent certificate will cause your SharePoint installation to stop functioning. Refer
to the following article for instructions on how to change this certificate: http://go.microsoft.com/fwlink/?LinkID=178475. Are you
sure, you want to continue?
Restart IIS so STS picks up the new certificate.
& iisreset
& net stop SPTimerV4
& net start SPTimerV4
Now validate the certificate replacement by running several PowerShell commands and compare their outputs.
# set the cerficates paths and password
$PfxCertPath = "c:\[certificate name].pfx"
$PfxCertPassword = "[password]"
# get the encrypted pfx certificate object
New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
# compare the output above with this output
(Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate
[/code]
## Establish the server to server trust
[code lang="ps"]
if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
Import-Module MSOnline
Import-Module MSOnlineExtended
# set the cerficates paths and password
$PfxCertPath = "c:\[certificate name].pfx"
$PfxCertPassword = "[password]"
$X64CertPath = "c:\[certificate name].cer"
# set the onpremise domain that you added to Office 365
$SPCN = "sharepoint.domain.com"
# your onpremise SharePoint site url
$SPSite="http://sharepoint"
# don't change this value
$SPOAppID="00000003-0000-0ff1-ce00-000000000000"
# get the encrypted pfx certificate object
$PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
# get the raw data
$PfxCertBin = $PfxCert.GetRawCertData()
# create a new certificate object
$X64Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
# import the base 64 encoded certificate
$X64Cert.Import($X64CertPath)
# get the raw data
$X64CertBin = $X64Cert.GetRawCertData()
# save base 64 string in variable
$CredValue = [System.Convert]::ToBase64String($X64CertBin)
# connect to office 3656
Connect-MsolService
# register the on-premise STS as service principal in Office 365
# add a new service principal
New-MsolServicePrincipalCredential -AppPrincipalId $SPOAppID -Type asymmetric -Usage Verify -Value $CredValue
$MsolServicePrincipal = Get-MsolServicePrincipal -AppPrincipalId $SPOAppID
$SPServicePrincipalNames = $MsolServicePrincipal.ServicePrincipalNames
$SPServicePrincipalNames.Add("$SPOAppID/$SPCN")
Set-MsolServicePrincipal -AppPrincipalId $SPOAppID -ServicePrincipalNames $SPServicePrincipalNames
# get the online name identifier
$MsolCompanyInformationID = (Get-MsolCompanyInformation).ObjectID
$MsolServicePrincipalID = (Get-MsolServicePrincipal -ServicePrincipalName $SPOAppID).ObjectID
$MsolNameIdentifier = "$MsolServicePrincipalID@$MsolCompanyInformationID"
# establish the trust from on-premise with ACS (Azure Control Service)
# add a new authenticatio realm
$SPSite = Get-SPSite $SPSite
$SPAppPrincipal = Register-SPAppPrincipal -site $SPSite.rootweb -nameIdentifier $MsolNameIdentifier -displayName "SharePoint Online"
Set-SPAuthenticationRealm -realm $MsolServicePrincipalID
# register the ACS application proxy and token issuer
New-SPAzureAccessControlServiceApplicationProxy -Name "ACS" -MetadataServiceEndpointUri "https://accounts.accesscontrol.windows.net/metadata/json/1/" -DefaultProxyGroup
New-SPTrustedSecurityTokenIssuer -MetadataEndpoint "https://accounts.accesscontrol.windows.net/metadata/json/1/" -IsTrustBroker -Name "ACS"
Add a new result source
To get search results from SharePoint Online we have to add a new result source. Run the following script in a PowerShell ISE session on your SharePoint 2013 on-premise server. Don't forget to update the settings region
if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
# region settings
$RemoteSharePointUrl = "http://[example].sharepoint.com"
$ResultSourceName = "SharePoint Online"
$QueryTransform = "{searchTerms}"
$Provier = "SharePoint-Remoteanbieter"
# region settings end
$SPEnterpriseSearchServiceApplication = Get-SPEnterpriseSearchServiceApplication
$FederationManager = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($SPEnterpriseSearchServiceApplication)
$SPEnterpriseSearchOwner = Get-SPEnterpriseSearchOwner -Level Ssa
$ResultSource = $FederationManager.GetSourceByName($ResultSourceName, $SPEnterpriseSearchOwner)
if(!$ResultSource){
Write-Host "Result source does not exist. Creating..."
$ResultSource = $FederationManager.CreateSource($SPEnterpriseSearchOwner)
$ResultSource.Name = $ResultSourceName
$ResultSource.ProviderId = $FederationManager.ListProviders()[$Provier].Id
$ResultSource.ConnectionUrlTemplate = $RemoteSharePointUrl
$ResultSource.CreateQueryTransform($QueryTransform)
$ResultSource.Commit()
Add a new query rule
In the Search Administration click on Query Rules
Select Local SharePoint as Result Source
Click New Query Rule
Enter a Rule name f.g. Search results from SharePoint Online
Expand the Context section
Under Query is performed on these sources click on Add Source
Select your SharePoint Online result source
In the Query Conditions section click on Remove Condition
In the Actions section click on Add Result Block
As title enter Results for "{subjectTerms}" from SharePoint Online
In the Search this Source dropdown select your SharePoint Online result source
Select 3 in the Items dropdown
Expand the Settings section and select "More" link goes to the following URL
In the box below enter this Url https://[example].sharepoint.com/search/pages/results.aspx?k={subjectTerms}
Select This block is always shown above core results and click the OK button
Save the new query ruleHi Janik,
According to your description, my understanding is that you want to display hybrid search results in SharePoint Server 2013.
For achieving your demand, please have a look at the article:
http://technet.microsoft.com/en-us/library/dn197173(v=office.15).aspx
If you are using single sign-on (SSO) authentication, it is important to test hybrid Search functionality by using federated user accounts. Native Office 365 user accounts and Active Directory Domain Services
(AD DS) accounts that are not federated are not recognized by both directory services. Therefore, they cannot authenticate using SSO, and cannot be granted permissions to resources in both deployments. For more information, see Accounts
needed for hybrid configuration and testing.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Override Security Profile for one employee
Hi
I have one employee who works in 'Accounts Department' and the HR user of accounts department can see only the employees of Accounts Department based on the security profile. This is working fine. But theres a different requirement. Some employees are transferred to other departments for 3-6 months for different purposes. During this time also the HR user of accounts department needs to view this employees details due to HR policies and procedures. Can we achieve this? If yes, how?
- GulzarQ 1 - When Employee is transferred from Dept 1 to Dept 2 for 6 months, Should the HR for both Dept 1 and Dept 2 be able to see his details for 6 months?
Q 2 - After 6 months period, employee's organization is again updated to Dept 1, should again HRs of both Dept 1 and Dept 2 be able to see his details even after the 6 months period?
Q 3 - If answer for Q 2 is - "after 6 months period, only HR of Dept 1 should see his details" , how to identify Employee's home department? Will it be the Employee's Organization effective as of Employee's hire date? -
Mixed results on iPad and iPhone 6 Plus with background image. How to fix this?
Flash Professional CC
I'm having an issue with adding images on iPhone 6 plus and iPad. I'm getting mixed results with two items: 1) a background image and 2) a button that should appear at the bottom left-hand corner on any device. In one case the background image appears enlarged and only shows about 30% of itself. In the other case, the bottom left-hand button appears about 50 pixels to the left when x=0. I also get different results when I set the following:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
This does not produce the expected results. I would like to have consistent results across iPad and iPhone 6 plus, which seams to be an issue. The immediate fix for this is to leave the images on the stage instead of using addChild. I could then just stretch the background image so that it spans the whole screen. But I want to add the items dynamically for greater flexibility.
Here are two cases:
Case #1:
This an iPhone 6 plus and you should notice 2 things. 1) There is black and white on both sides. The blue background SHOULD APPEAR ACROSS THE WHOLE SCREEN. 2) The red button in the corner SHOULD APPEAR IN THE LEFT MOST CORNER OF THE
SCREEN.
Case #2:
This an iPhone 6 plus and I have set the scale X, Y to the stage.stageWidth/Height:
mc_stageBackground_Main.scaleX = stage.stageWidth;
mc_stageBackground_Main.scaleY = stage.stageHeight;
This results in a close up of the background image.
Here is the code that I'm using:
import com.greensock.TweenLite;
import com.greensock.easing.*;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
//When this is active the background image spans across the device (iPhone 6 plus) correctly. The main logo image does not line up correctly.
/*stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;*/
var main_logo:MC_LOGO_MAIN = new MC_LOGO_MAIN();
var mainBackground_2208: MC_MAIN_BACKGROUND_2208 = new MC_MAIN_BACKGROUND_2208();
var mainBackground_1024: MC_BACKGROUND_1024 = new MC_BACKGROUND_1024();
var mainCorner: MC_MAINCORNER = new MC_MAINCORNER();
var chapters: MC_CHAPTERS = new MC_CHAPTERS();
var _stageWidth = 1024;
if (stage.stageWidth > _stageWidth)
//Add bigger background if the stage is bigger than 1024
mainBackground_2208.x = stage.stageWidth/2;
mainBackground_2208.y = stage.stageHeight/2;
addChild(mainBackground_2208);
//Using this code results in a very close up view of the stage on iPhone 6 plus
/*mc_stageBackground_Main.scaleX = stage.stageWidth;
mc_stageBackground_Main.scaleY = stage.stageHeight;*/
//Adds corner to the main screen.
mainCorner.y = stage.stageHeight;
mainCorner.x = (stage.stageWidth - stage.stageWidth);
addChild(mainCorner);
TweenLite.from(mainCorner, 1,{ height: 0, width: 0, delay:1, ease:Elastic.easeOut});
//add logo to sit at 50 pixels from the top of the stage
/*main_logo.x = stage.stageWidth/2;
main_logo.y = (stage.stageHeight -stage.stageHeight + main_logo.height *.6);
addChild(main_logo);
TweenLite.from(main_logo, 1,{ y: -main_logo.height, ease:Elastic.easeOut});*/
else
trace ("The stage is 1024 or smaller");
//Add 1024 background if stage is 1024 or smaller
mainBackground_1024.x = stage.stageWidth/2;
mainBackground_1024.y = stage.stageHeight/2;
addChild(mainBackground_1024);
//Adds corner to the main screen.
mainCorner.y = stage.stageHeight;
mainCorner.x = (stage.stageWidth - stage.stageWidth);
addChild (mainCorner);
TweenLite.from(mainCorner, 1,{ height: 0, width: 0, delay:1, ease:Elastic.easeOut});
//adds chapters
chapters.x = (stage.stageWidth - stage.stageWidth)+75;
chapters.y = stage.stageHeight - 120;
addChild(chapters);
TweenLite.from(chapters, 1,{ height: 0, delay:.5, ease:Elastic.easeOut});
//adds the Main logo to sit at 50 pixels from the top of the stage
main_logo.x = stage.stageWidth/2;
main_logo.y = (stage.stageHeight -stage.stageHeight + main_logo.height *.6);
addChild(main_logo);
TweenLite.from(main_logo, 1,{ y: -main_logo.height, ease:Elastic.easeOut});On all of the devices go to settings - facetime - iphone cellular calls - oFF, this part of Apple continuity.
-
Setting 'MO: Security Profile or MO: Operating Unit profile option' - Urgen
All,
Version: 12.0.4
Module: Purchasing
I'm trying to invoke the PO_CHANGE_API1_S.record_acceptance to send the Advance shipment Notice doc to Oracle R12. On invocation I'm getting the following error
ORA-20001: APP-FND-02902: Multi-Org profile option is required+
set either MO: Security Profile or MO: Operating Unit profile option+
1. How do I set this profile option?
2. Is it required to set both security and OU profile option?
3. At what level(site,appln,resp,user,ou,...) should I set the profile?
Please help me.
Thanks,
SenHi,
You can set those profile options from System Administrator responsibility > Profile > System.
Please see these docs for details.
Note: 602141.1 - R12 - Error ORA-20001, APP-FND-02902 Accessing Profile Classes Form With Multi-Org Access Control (MOAC) Enabled
Note: 338332.1 - App-Fnd:02902: Multi-Org Profile Option Is Required. Ora-20001
Note: 393560.1 - How To Prevent the Profile Option MO: Operating Unit being set to NULL at Site Level?
Regards,
Hussein -
Lost Security Profile Password
I'm using Acrobat Pro 7.0 and have misplaced the password on a security profile. When I originally set it up, I checked the box that said "Save Passwords with Policy". Is there a way I can retrieve the password from my Windows XP system?
If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password.
Otherwise*, boot into Recovery mode. When the OS X Utilities screen appears, select
Utilities ▹ Terminal
from the menu bar. In the window that opens, type this:
res
Press the tab key. The partial command you typed will automatically be completed to this:
resetpassword
Press return. A Reset Password window opens. Close the Terminal window to get it out of the way.
Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
Select
▹ Restart
from the menu bar.
You should now be able to log in with the new password, but your Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it.
*Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.
Maybe you are looking for
-
How do I track down a missing account?
Hi. I purchased an iTunes music store gift card for my son for Xmas. I thought we'd installed everything correctly and created an account for him, then entered the number on the gift certificate. I distinctly recall seeing him open up the store using
-
Problem installing Snow Leopard
I am trying to upgrade to SL from Leopard, the disc Leopard is on is not shown in list of drives to install on. Why?
-
Since downloading Rosemite I have had long delays in starting up my iMac ?
I downloaded Yosemite on my iMac on 20.10.14 and have been experiencing long delays in starting up each day ?
-
Is the battery dead, or do i need to replace the power cord??
was using the laptop and had the battery fully charged, also with the power cord plugged in. laptop then apparantly went into sleep mode (took battery out, battery did NOT have any charge according to the charge level) left plugged into the charger a
-
What is table of Rate field in Sales Order document (VA03)?
Hello everyone! I need to check in what table is the Rate value in the Sales Order document saved.. Unfortunately, it is not in VBAP as I first expected. Only the Net price is there, not the Rate. Thank you very muchh!