Dynamically Changing Location Attributes
Hi All,
Has anyone ever successfully set up a BefConsolidate event script with a dynamically changing location attribute. The FDM Admin manual says you can do this:
RES.PblnValEntGroupOverride=True
RES.PstrValEntGroup=”MyNewEntityGroup”
It does not work for me when I sub in a new Validation Entity Group. Has anyone had luck with this? See my actual code below. The new validation group name is 281.
Sub BefConsolidate(strLoc, strCat, strPer, strTCat, strTPer, strEntGroup)
RES.PblnValEntGroupOverride=True
RES.PstrValEntGroup="281"
End Sub
Thx,
Mike
Hello,
Yes I am able to write to file before end if. I also took out end if statement which to me would me FDM would fire the event for all locations without restriction.
I have not tried the same code in other event script. Would that work? The RES statement specifically relates to a consolidation trigger. I can try another event to see.
Thanks.
Similar Messages
-
Dynamically Replacing Location Attributes
Hello,
I am having trouble changing the validation entity group using the BefConsolidate event script. This is my code below:
Sub BefConsolidate(strLoc, strCat, strPer, strTCat, strTPer, strEntGroup)
If InStr(UCase(strLoc), "EA") > 0 Then
RES.PblnValEntGroupOverride=TRUE
RES.PstrValEntGroup="TOT"
End If
End Sub
I am using similar code to dynamically change the import format and that works fine. I am using FDQM, Fusion Edition 11.1.2.1.
The RES. statements are coming straight out of admin guide so I am not sure why this will not work.
The location in question does have a default validation entity group assigned.
Thank you,
MatthewHello,
Yes I am able to write to file before end if. I also took out end if statement which to me would me FDM would fire the event for all locations without restriction.
I have not tried the same code in other event script. Would that work? The RES statement specifically relates to a consolidation trigger. I can try another event to see.
Thanks. -
How to change the attribute of screen field to drop down list dynamically
Hi All,
Col X Col Y
A input field
B drop down list
This is a tabular disply where the Screen field attribute for Col y is NO DROP DOWN BOX.
My requirement is to change the attribute of COl Y to DROP DOWN list depending on the value of
COL X dynamically.Dear Ajay,
Actually this requirement is to enhance the standard screen for Tcode :EHSVU21.
So depending on the 1st Column(Test no) value ,i have to change the 3rd Column(Low.norm.result)
property either to DROP Down or not.
So in the PBO only the changes to be made and there is no field in SCREEN internal table for changing the attribute to DROP down. I checked SCREEN internal table where the field VALUE_HELP and REQUEST is useful but not suitable for my case.
Any solution available? -
How to change the attributes of screen fields dynamically
<b></b>
well i have created a table by name empmaster_data with following fields.
*emp_id.
*emp_fname.
*emp_lname
*dob.
*doj.
*dept.
*desig.
now using a single screen i want to create,change and display the information.even i am using save and exit button.
now i want to change the attributes of screen fields dynamically like active,input,output,invisible.Hi,
Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav -
how and where do I give my user full rights ie to save files in any location, change file attributed(from read only ) etc
The simplest way is with the chmod Terminal command.
Warning: unless you know exactly what you are doing, you are almost certain to break something with indiscriminate use of this command. Make sure at least your data files are backed up (& ideally in offline storage) before you experiment with this command, & note that you can mess things up enough that you will have to reinstall the OS to recover. -
Dynamically add/change SAML attributes
Hi,
Is it possible to dynamically adding assertion attributes to SAML
depending on the authentication method?
From what I see in the LocalAuthenticationClass ( NACM API ), there is
a method called:
addPrincipalAttributes(java.lang.String strAttr, java.lang.String[]
values)
Sets attributes for a user that has been authenticated.
Does it mean that these attributes will be added to the SAML when NAM
responses to the AuthnRequest?
If so, will they be automatically added to the e-Directory?
Basically, my boss wants me to send, say attributes 1,2,3 when a user
authenticates with username/password contract. However, when a user
logins with digital certificate, then I need to send attributes
1,2,3,4,5. Can this be done?
Thanks in advance,
Annon
anonaye2
anonaye2's Profile: http://forums.novell.com/member.php?userid=60294
View this thread: http://forums.novell.com/showthread.php?t=381618http://forums.novell.com/novell-deve...injection.html
Although this post above does solve my problem; some tech. wiz. at work
suggests that it will not work in concurrent condition when multiple
users of the same ID login at the same time with different
authentication method.
Is there other solutions without modifying e-Directory?
anonaye2
anonaye2's Profile: http://forums.novell.com/member.php?userid=60294
View this thread: http://forums.novell.com/showthread.php?t=381618 -
Noob Q - Override a WSDL location attribute
I've read in another post about overriding the Web Service location found in its WSDL file. Unfortunately, I cannot find any additional info on how to do this. Can someone point me in the direction for the docs or xsd that specifies how this is done? Right now the WSDL is using the machine's loopback adapter and the web service host is unable to change it.
Thanks,
Genenot sure which version you are using. But in any case - you can either use the location attribute that is sitting inside bpel.xml (in 10.1.3) or inside <binding.ws> in 11g's composite.xml.
If you need to set it at runtime, you can use dynamic partnerlinks, e.g.
</pre>
<assign>
<copy>
<from>
<EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
<Address>http://cutschig-lap.us.oracle.com:7777/orabpel/default/AmericanLoan</Address>
<ServiceName xmlns:ns1="http://services.otn.com">ns1:AmericanLoan</ServiceName>
</EndpointReference>
</from>
<to partnerLink="LoanService"/>
</copy>
</assign>
</pre> -
Dynamically changing the color of nodes in a JTree
I have created a JTree and want to dynamically change the color of some of the TreeNodes as my program runs. The JTree is displayed in a JPanel. There is an algorithm built into which identifies the nodes whose color I need to change. No user actions is performed (everythign is internal to the program).
It seems that in the TreeCellRender only kicks in when the tree is first displayed. How do I get it to re-render the tree when the TreeModel changes? It seems that the Listeners are only looking for external user interactions.
Any help would be greatly appreciated.
Thanks!I think I was a bit too vague in my question. Let me try again...
I have changed an attribute in a node in a JTree. This attribute is changed after the tree was initially rendered, but while the program is still running. I want to tell the TreeCellRenderer to look again at this node since that attribute that was changed will effect how the node should be renderered. I tried using the nodeChanged() method, but it did not work (the colot of the node did not change). Any advise how I can do this?
Thanks! -
How can I dynamically change a Grids ro color
Hi,
I am using a grid within a component in my Flex application.
I have an XML dataProvider, and I want to change the row
colour of my Grid depending on a value coming form my dataProvider
– but I cant seem to get this to work :(
can anyone help / advise me on how I can dynamically change the
colour of my grid row depending on a value coming from my XML
DataProvider????
For example:
Within my component I have the following grid within an
“MXML” component called myGrid.mxml:
[CODE]<mx:Grid id="GGrid">
<mx:GridRow backgroundColor="0xCFD8DA">
<mx:GridItem>
<mx:Label id=”name_lbl”/>
</mx:GridItem>
</mx:GridRow>
<mx:GridRow backgroundColor="0xCFD8DA">
<mx:GridItem>
<mx:Label id=”expiryDate_lbl”/>
</mx:GridItem>
</mx:GridRow>
<mx:GridRow id=”statusRow”>
<mx:GridItem>
<mx:Label id=”status_lbl”/>
</mx:GridItem>
</mx:GridRow>
</mx:Grid>[/CODE]
I am setting/declaring my results/variables form my
dataProvider in the main Application (“MXML”) file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*"
creationComplete="initApp()" >
<mx:HTTPService
id="myResults"
url="
http://localhost/myResults.xml"
resultFormat="e4x"
result="myResultHandler(event)" />
[CODE]<mx:Script>
<![CDATA[
import mx.core.Application;
[Bindable]
public var myDataFeed:XML;
public function initApp():void
myResults.send();
public function myResultHandler(event:ResultEvent):void
myDataFeed = event.result as XML;
Application.application.myGrid.name_lbl.text =
myDataFeed.name;
Application.application.myGrid.expiryDate_lbl =
myDataFeed.expiry;
Application.application.myGrid.status_lbl.text =
myDataFeed.status;
if(myDataFeed.status == “OK”)
Application.application.statusRow.backgroundColor="0xCFD8DA";
else if (myDataFeed.status == “WARNING”)
Application.application.statusRow.backgroundColor="0xFF9900";
else if (myDataFeed.status == “CRITICAL”)
Application.application.statusRow.backgroundColor="0xFF0000";
]]>
</mx:Script>
</mx:Application>[/CODE]
however, I cannot access the property
“backgroundColor” of the gridRow in this way:
[CODE]Application.application.statusRow.backgroundColor[/CODE]
As I get the following error:
[CODE]Severity and Description Path Resource Location
Creation Time
Id 1119:
Access of possibly undefined property backgroundColor through
a reference with static type mx.containers:GridRow.
enterpriseDB_new enterpriseDB_new.mxml
line 721 1194443056449 19295[/CODE]
can anyone help / advise me on how I can dynamically change the
colour of my grid row depending on a value coming from my XML
DataProvider????
Thanks,
Jon.quote:
Originally posted by:
ljonny18
Hi,
I am using a grid within a component in my Flex application.
I have an XML dataProvider, and I want to change the row
colour of my Grid depending on a value coming form my dataProvider
– but I cant seem to get this to work :(
can anyone help / advise me on how I can dynamically change the
colour of my grid row depending on a value coming from my XML
DataProvider????
Thanks,
Jon.
Hi,
a few hours ago I stumbled across this cookbook entry - it
didn't solve MY problem, but maybe it provides a way to solve your
problem?
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
From the article:
quote:
Changing the background color of a DataGrid cell is not as
simple as changing some style because the default renderer for a
DataGrid cell does not have a backgroundColor. Therefore, to do
this simple task, you have to create a custom itemRenderer where
you draw your own background in the updateDisplayList function.
HTH
Uwe -
How to change general attribute of text element
hi
who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.Hi Denis,
I am not too sure on what you want.
If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
But I dont think that you can assign dynamic texts to a single text element.
Regards,
Saurabh -
Is it possible to dynamically change the image in a Picture Field?
Is it possible to dynamically change the image in a Picture Field?
Thank youTry using the In Proc RAS SDK.
[Here are the sample applications.|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/b02c1cac-ad86-2b10-88ae-cb36551bab06] Take a look at the 'Add Image' sample.
Insert the picture at design or runtime and change the location / name of the image at runtime.
- Bhushan. -
How to dynamically change start time in calendar
Hi !
Is it possible dynamically change start time attribute in calendar. Let's say I'd like to have start time = sysdate through 24 for displayHello Johann,
If you created the calendar region using the wizard, it should have created a page item 'P#_CALENDAR_DATE' (# being your page number). Look at the Default setting for that item and it will likely be:
return to_char(localtimestamp,'YYYYMMDD');This is the default date for the calendar (current date), in 'YYYYMMDD' format. Any code that sets this item to a date in 'YYYYMMDD' format should tell the calendar to display the calendar for that date. For example, I just changed it to this:
return '20080101';And it displayed the calendar for that January, 2008. To test further I created a submit button and a branch, and in that branch I specified to set my P1_CALENDAR_DATE item to 20080601 and when I clicked the button it redisplayed the calendar for June, 2008.
Hope this helps,
John -
Dynamically changing column display type
Hi,
I have a report that gets generated every day with different column names. The report contains a decode statement that uses a row value to return using pictures. The problem I am running into is the column is being displayed as text and the value of the row is showing up as some html text instead of the picture. The default Column report in APEX 4.1 is for the report to be displayed as "Display as Text". I know the APEX team did this for security reasons. Is there any other way to display the column as "Standard Report Column".
I want the report to be displayed as a "Standard Report Column" instead of me going in and changing it manually to "Standard Report Column".
Any help in the right direction is appreciated.
-AbeI have been trying to find the same solution... the ability to either default all my columns to "Standard Report Column" instead of "Display as Text" or to dynamically change them from code. Or it would even be great if the "Display As" value on report columns (both Classic Reports and Interactive, mine is Classic) was a column in the "Column Attributes" table on the "Report Attributes" page so that I could just change them all and hit "Apply" from that one page instead of having to go into each column's properties individually. (It's time consuming and tedious and easy to miss columns because I can't tell what I've changed.)
If anyone has any thoughts, I'd love to hear them... -
Dynamically change icon name of push button
Hi,
I would like to ask how to dynamically change the icon name attribute of a push button in dialog programming. What is the syntax for assigning an icon name during runtime?
I am currently doing a multiple selection function for KNA1-KUNNR.
Initially, the icon name is ICON_ENTER_MORE. When the user picks up more than one customer, it should automatically change to ICON_DISPLAY_MORE. How can I do this?
here's the code i currently have:
DESCRIBE TABLE kunnr_ran LINES l_kunnr.
IF l_kunnr > 1.
g_add_multiple = 'X'.
BT_MULT_CUST-icon_name = 'ICON_DISPLAY_MORE'.
ELSEIF l_kunnr = 1.
CLEAR g_add_multiple.
BT_MULT_CUST-icon_name = 'ICON_ENTER_MORE'.
ENDIF.
The name of my pushbutton is BT_MULT_CUST.
The code in ** is not correct. I don't know the syntax in SAP. But that is how it is done in VB for example.
Thank you.
che =)If you have not found your answer already, please try the following:
1) In screen layout painter: for the pushbutton in question (i.e. pb_multi_select), mark the "Output field" on the program attributes tab in the attributes window for the pushbutton. Make sure that its visible length is at least 2 too. This will "gray out" the "Text" and other fields.
2) In the TOP INCLUDE of the module program: add a variable for the pushbutton that is of type "icons-text" and don't forget to include <icons>. Below is an example
INCLUDE <icon>
DATA: pb_multi_select TYPE icons-text.
3) In a module called in the PBO modules for the screen that needs its button changed, call the function "ICON_CREATE" and pass at minimum the name of the icon and the field that you specified in step 2. Below is an example using the icon "ICON_DISPLAY_MORE", "ICON_ENTER_MORE", and a flag variable "MULTI_SEL_INFO_EXISTS" that indicates if any multiple selection information has already been entered. It would be set by the program (not automatically, but by coding) prior to the "IF" statement:
IF multi_sel_info_exists = 'X'.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = 'ICON_DISPLAY_MORE'
IMPORTING
result = pb_multi_select.
ELSE.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = 'ICON_ENTER_MORE'
IMPORTING
result = pb_multi_select.
ENDIF.
You can change the button as you see fit with multiple different calls inside of "IF" or "CASE" statements. Please see documentation for "ICON_CREATE" for other parameters.
Hope this helps,
Brian -
Hi
we are facing some problem in Dynamic Changing the LOV.
Lets assume the below scenario.
I have tables like location and department table.
In location table i have values like country name and location. For one country there will be multiple locations.
First i need to show the unique country names in LOV. based on the country selection i need to show locations.
all we need to achieve in same page meaning i have two lovs in one page. first one is country and second one is locations.
pls. help us to resolve this issue.Why wouldn't you put two items (visible=no) on page; first of them with "select distinct..." of country on record group for LOV1 and the second with LOV2 with locations, depending of values in item1 where you took value from LOV1?
Maybe you are looking for
-
Hi! I can only see 'loop until' step under the "step types that can be inserted". I am unable to see while loop step. Could someone please help me in adding while loop in the workflow? Regards, Anwar.
-
Best way to remove duplicates based on multiple tables
Hi, I have a mechanism which loads flat files into multiple tables (can be up to 6 different tables) using external tables. Whenever a new file arrives, I need to insert duplicate rows to a side table, but the duplicate rows are to be searched in all
-
Help Please - Landscape Printing in JDK1.3
Iam trying to print a line of text of 160 chars wide in landscape format. The ImageableWidth and ImageableHeight are 792 and 612 respectively. The ImageableX and ImageableY are both 72(1 inch). Font -> ("Courier", Font.PLAIN, 7), noOfChars/line -> 16
-
Powershell - input information in script that is sent to a list in Sharepoint
I got this question from a co-worker of mine. Today we sit on a wss 3.0 installation which acts as a management portal. Here we have an event log list, where we post events/changes. He is regulary using powershell, and would like to sit here and crea
-
this is what is happening to me: when i try to uninstall Quicktime from add/remove programs, i get a message about not being able to find quicktime.msi. when i previously tried to upgrade itunes it wouldnt work, aomething about my aol software? so i