Manipulating a GROUP in 10gR3
Guys,
Is there a way to manipulate a GROUP .
lets say I has HashMap hMap which has 3 name value pair. The Key is a ID and value Y/N
put(hMap , arg1 : 1 , arg2 : "Y")
put(hMap , arg1 : 2, arg2 : "N")
put(hMap , arg1 : 3 , arg2 : "Y")
I have a GROUP GRP1 with 4 attribute
GRP1
Id
F_Name
L_Name
Employed
my Group GRP1 currently has 3 rows
row1 -> 1,"First1","Last1",""
row2 -> 2,"First2","Last2",""
row2 -> 3,"First3","Last3",""
I want to update the Group GRP1 and insert the Y/N value from the HashMap hMap for each ID that . ( The Guorp's 1st attribute Id is the Key in the HashMap.
my Group is part of a Bigger Object which has many more attributes and groups.
Also is there a way to return the Resultset as part of a query execution using PBL.
-Thanks
Edited by: v1000c on Jan 6, 2011 11:09 AM
I probably am missing something you're looking for, but you might want to try:
myId as Int
for each element in myGroup do
myId = element.id
element.theY_N_attr = hMap[myId]
endDan
Similar Messages
-
Record Group In Insert Statement
Hi All,
I am using Oracle 9i Ver 2 & Developer 6i on Windows platform. I want to ask, can we pass a Form's Record Group object to a select statement as a whole. I mean something like this,
Suppose emp_rg is a Forms RecordGroup which has all the columns of scott.emp table & it contains 10 rows. So, can I write like this:
INSERT INTO emp VALUES(emp_rg);
Or anything like this, if this is wrong.
Or, I need to create a PL/SQL record object & then I can pass. Pls clarify.
Thanks in Advance,
Inderjeet SinghYes I often have trouble deciding whether to use a record group or a pl/sql table. They both have their own advantages in different situations. Manipulating record groups programatically requires rather more cumbersome syntax, but they do come with some handy built-ins (such as populate_group), and they also integrate with LOVs, Trees etc.
If you want the pl/sql table to be available throughout the form you will need to declare it in a package spec.
Even with a pl/sql table, you will need to write code to feed it into your insert statement. I reckon a global temporary table might allow the most straightforward syntax. -
DFM 3.1.3 - Threshold parameter group member ??
I am very confused how members are associated to Threshold group :
1)- The trunks interface are in the "Access Port Groups 1 GB Ethernet Groups" and not in the Trunks Port Groups ? Is that normal
2) When I tried to create a new groups, It is creating it but every other manipulation on Groups give me the following errors :
Cannot retrieve the list of groups from grouping service
check in ptmclient.log1. Maybe. A trunk port to DFM is a port which connects to another device which is managed by DFM. This could actually be a port in an access state. If the port really is trunking, but DFM is not managing the peer device on the other end of the trunk, then DFM will treat it as an access port.
2. Do not create groups in DFM to do threshold manipulation. Instead, choose one of the customizable interface, port, or device groups, and edit them. Apply the desired ruleset, then adjust the grouping priorities under DFM > Configuration > Polling and Thresholds > Setting Priorities so that your customized group comes before the other system-defined groups. Then apply your changes, and you should be able to see the matched devices. You can then assign specific thresholds for those matched devices.
Please support CSC Helps Haiti
https://supportforums.cisco.com/docs/DOC-8895
https://supportforums.cisco.com -
Access the site title, url from new -spsite cmd let
hi,
I am creating new site using the pshel
new-spsite -name $projectName –Description $projectDescri -Template "STS#0" -ContentDatabase $contentdbnameproj $sitecollecName -OwnerAlias $primAdmin_1 –SecondaryOwnerAlias $secondaryAdminin -verbose
and I want to get the site url created here,
Can i assign the output of this command to a pshell varibale? so that i can access the root web's title and url and perform more operations like adding few users into the members group,add some other users into a list within
this site collection etc ...i have written the belwo script for creating siet collec with sepcific content db and geting the rootweb property and able to manipulate partially.
but i was getting few errrors while manipulating the groups etc
$ErrorActionPreference="Stop"
Write-Host "Create SiteColection"
$dummywebappname= "http://srvr:1009"
$projectName = Read-Host "Enter Project Name"
$projectDescri = Read-Host "Enter Project Description"
$contentdbnameproj= "WSS_ContentDB_"+$projectName
#$contentdbnameproj="WSS_ContentDB_Project"
new-spcontentdatabase -name $contentdbnameproj -webapplication $dummywebappname -verbose
Write-Host -f yellow "Project DB has been created"
$sitecollecName = $dummywebappname + "/sites/"+$projectName
#$primAdmin = Read-Host "Enter primray admin name: like in\p.p";
$primAdmin_1 = "in\p.p"
#$mtemplate= Get-SPWebtemplate -Identity "STS#0"
#$secondaryAdmin = Read-Host "Enter secondary admin name: like in\p.p";
$secondaryAdmin_1 = "in\h.v"
#$rildccs= read-host "Enter names with semilcolon separated like: "
#$EM= read-host "Enter EM Name with semilcolon separated like: " #"in\m.n";
#$PM= read-host "Enter PM Name with semilcolon separated like: " #"in\m.n"; "in\r.r.s";
# list name where EM and PM needs to be inserted
$projlistname="Project_Master"
new-spsite -name $projectName –Description $projectDescri -Template "STS#0" -ContentDatabase $contentdbnameproj $sitecollecName -OwnerAlias $primAdmin_1 –SecondaryOwnerAlias $secondaryAdminin -verbose
$mprojectURL=$sitecollecName
$sitecollecURL= $sitecollecName
$currsite=Get-SPSite $sitecollecURL
$currWeb=$currsite.RootWeb
Write-Host -f yellow "Project named " $projectName " with URL" $mprojectURL "was successfully created"
Write-Host -f yellow "starting to create default groups..."
$projSite = New-Object Microsoft.SharePoint.SPSite($sitecollecName)
$projweb = $projSite.RootWeb
$projweb = Get-SPWeb $projweb.Url
$projweb.Update() -
When will iWeb allow editing of published sites?
I use iWeb with several colleagues and clients. I understand it is not meant for a lot of business or organizational use, but believe me, it is being used that way an awful lot for iWeb's great graphic templates, ease of manipulation with groups present, etc.
Its one drawback is that it cannot be used collaboratively. Only one person can do any editing, and so anytime that a single period must be added, the original author must do the editing, even if others have write access to the web file space. This makes for really clunky operation in the team-oriented web environment of all but the most personal of websites.
I realize that iWeb generates a bunch of files when a site is published, but we need a way to have iWeb read the published fileset and reconstruct the pre-published site so that it can be edited and re-published by someone other than the original author.
I know the iWeb team, like all Apple teams, can handle this technical challenge. And I know that Apple, wanting to create the user experience where things "just work" the way users expect, will agree that users have come to expect files that can be edited by other users using the same product.
So this feature should be a top priority for iWeb 3. I'm sure others would agree.You are just talking to other users here. To tell Apple something, use this link:
http://www.apple.com/feedback/iweb.html -
Programmatic access to the Word Accessibility Checker
Hi,
I'm attempting to find a way to launch the Word Accessibility Checker from VBA or .NET code, manipulate which rules it is using and ideally have a collection of all the issues discovered.
I know the rules can be manipulated via group policy (see https://technet.microsoft.com/en-us/library/ff602182.aspx) but this is not appropriate to our situation.
Any help or direction will be greatly appreciated.
thanks, MarkHi Mark,
Based on the description, you want to launch the Word Accessiblity Checker from code.
As far as I know, the Word object model doesn't expose this function at present. You can get more detail about it from link below:
Object model reference (Word 2013 developer reference)
If you want to the Word object model to expose this function, I suggest that you submit the feedback from link below:
Submit Feedback - Microsoft Support
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Okay, have been teaching myself Motion and am wondering why I'm regularly running into timing issues.
Example 1: Text
I have created a number of text layers in my project and set the timing of some bullet points separately as I used separate layers for them. I had them set to appear 2 seconds apart and to disappear at the same time. This all worked fine until I decided to change the time later on. I did this, but now for some reason Bullet Point 2 appears first, followed by bullet points 1 & 2 at the same time and bullet point 4 last. Why is this happening? I have checked the timing properties of all of them, as well as of the groups they're in. I've even changed the order of the layers, but this made no difference. Everything looks okay...but something's amiss?
Example 2: Timing in general
Sometimes when I try to change the timing of a layer in the Properties it won't allow me to change it (but why?). I can then change it manually by dragging the slider in the Mini Timeline, but I can't get the slider to go exactly to the individual frame I want. (Is there way to do this?) But usually once I've manually changed it in the slider, I can then go back to the timing properties to change it exactly. Why is this happening? I can't seem to work out the pattern here?
Thanks for any help!
Kindest regards,
Joe.The beauty of the Timeline is that you can see the relationships between multiple objects whereas the mini timeline is contextual and only shows what is selected.
In this simple example you can see why a text object may not be visible in the canvas even though it shows up at the proper frame and duration in the mini timeline.
Notice that the Group it resides in doesn't extend long enough to contain the "missing" text object. This is an easy situation to find yourself in and it is easy to spot in the Timeline.
Re: your second question, I find it easiest to select the object either in the canvas, layers list or timeline, go to the exact frame you want it to begin and hit " i ". This sets the inpoint of the object at that frame. You can then either do the same for the outpoint by going to your end frame and hitting " o ", or using the inspector and typing in the duration.
You can also drag the end point in the mini timeline or timeline where you'll be shown durration as you drag it in a little tool tip.
Just remember, if you've manipulated the Group like it was in the first picture, you won't see the object in the Canvas until you fix it. -
Hiding groups on checkin pages with 10gR3
In CS 7.5.2 I have grouped my checkin fields and hidden (collapsed) some groups . Since migrating to 10gR3 the groups are there but are not hidden. Here's my code (used on the dInDate field, the first in the group)
<$dpPromote("dInDate:fieldGroupDefaultHide","1")$>
Is there a new way to hide groups?on a profile, there is a checkbox that says something like "exclude non-rule fields" or something like that... if that is checked for a profile, then ALL fields are excluded by default. You need to make a field "hidden" or "editable" in a rule, and add that rule to the profile in order to make it appear.
-
Webdynpro Dynamic layout manipulation: error attaching elements to Group
Hi Experts,
I am trying to create dynamic layout during run time. Itu2019s working partially, but as soon as I add new u201CGroup elementu201D or new u201CTransparent elementu201D I am getting a null error. If I just use buttons, input field or text dynamically layout create it works fine. I want to group this fields in a groups or transparent container so that I can manipulate layout place containers where I need. As soon as I add other element (inputfield/button/text) to transparent element it errors. I have attached code below for more detail. Does anyone have similar issue? Lot of demo and example code show how to create elements (inputfield/button/text) none show how attach those element back to u201DGroupu201D or u201CTransparentu201D element.
I am creating dynamic elements in u201CViewu201D method u201CWDDOMODIFYVIEWu201D. Any idea or clue much appreciated. Thanks in advance.
Kind Regards,
Trim
method WDDOMODIFYVIEW .
DATA lr_container TYPE REF TO cl_wd_uielement_container.
DATA lr_trans_cont TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
DATA lr_input TYPE REF TO cl_wd_input_field.
DATA lr_table TYPE REF TO cl_wd_table.
DATA lo_nd_sflight TYPE REF TO if_wd_context_node.
DATA lr_button TYPE REF TO cl_wd_button.
DATA lr_o_group TYPE REF TO cl_wd_group.
data: lr_text TYPE REF TO CL_WD_TEXT_VIEW.
constants : gc_trs_cont type string value 'Trscont',
gc_text1 type string value 'ePDA goals and activity of the team',
gc_text2 type string value 'Complete all box and submit to manager'.
DATA lo_el_context TYPE ref to if_wd_context_element.
navigate from <CONTEXT> to <SFLIGHT> via lead selection
lo_nd_sflight = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
IF first_time = abap_true.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
DATA lr_grid_data TYPE REF TO cl_wd_grid_data.
DATA lr_flow_data TYPE REF TO cl_wd_flow_data.
DATA lr_matrix TYPE REF TO cl_wd_matrix_head_data.
DATA lr_matrix_l TYPE REF TO cl_wd_matrix_layout.
DATA lr_matrix2 TYPE REF TO cl_wd_matrix_data.
CALL METHOD CL_WD_TRANSPARENT_CONTAINER=>NEW_TRANSPARENT_CONTAINER
EXPORTING
ID = '/0CUST/123'
VIEW = view
WIDTH = '100%'
RECEIVING
CONTROL = lr_trans_cont.
lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_trans_cont ).
lr_container->set_layout_data( lr_matrix ).
data: lr_o_caption type ref to cl_wd_caption.
CALL METHOD CL_WD_GROUP=>NEW_GROUP
EXPORTING
ID = 'GRP1'
design = '03'
RECEIVING
CONTROL = lr_o_group.
lr_o_caption = cl_wd_caption=>new_caption( text = 'Group1' ).
lr_o_group->set_header( the_header = lr_o_caption ).
cl_wd_flow_data=>new_flow_data( element = lr_o_group ).
cl_wd_flow_layout=>new_flow_layout( container = lr_o_group ).
lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_o_group ).
lr_o_group->set_layout_data( lr_matrix ).
CALL METHOD lr_container->add_child
EXPORTING
index = 1
the_child = lr_o_group.
CALL METHOD cl_wd_button=>new_button
EXPORTING
enabled = 'X'
id = 'B1'
on_action = 'GET_FLIGHT'
text = 'Get Flight Data'
RECEIVING
control = lr_button.
lr_matrix2 = cl_wd_matrix_data=>new_matrix_data( lr_button ).
lr_button->set_layout_data( lr_matrix2 ).
CALL METHOD lr_o_group->add_child
EXPORTING
index = 1
the_child = lr_button.
CALL METHOD cl_wd_input_field=>new_input_field
EXPORTING
bind_value = 'SFLIGHT.CARRID'
id = 'INPUT1'
RECEIVING
control = lr_input.
lr_matrix2 = cl_wd_matrix_data=>new_matrix_data( lr_input ).
lr_input->set_layout_data( lr_matrix2 ).
CALL METHOD lr_o_group->add_child
EXPORTING
index = 2
the_child = lr_input.
endmethod.
Edited by: Trim Chakrapani on Nov 15, 2011 5:01 PMHi
I suggest you create a transparent container at design time and then use the below code in wddomodify to get a reference to the transparent container.
DATA: lv_container TYPE string,
lo_container TYPE REF TO cl_wd_transparent_container.
lv_container = 'TransparentContainer'.
lo_container ?= view->get_element( lv_container ).
lo_container->add_child( lo_button ).
Hope this helps. -
Can I select and manipulated hidden photos as a group?
I've been through an album and have hidden some photos as they don't add much to the slide show I'm creating. At this point I would like to do some stuff with the album as it is (without the hidden photos), so I would like to delete all the hidden photos from the album. Is there any way to do this? Similarly, could I export all the hidden photos so as to archive them somewhere, or export the album without the hidden photos? Really I want a way to treat 'hidden' as a status - is any of this possible?
Living Fossil
Welcome to the Apple Discussions.
File -> New Smart Album
Photo -> Is / Is Not -> Hidden
Regards
TD -
How do I use Panorama / Tab Groups with the keyboard?
Yes I know that CTRL-SHIFT-E opens the panorama window, and then I can use the mouse to organize my tabs into groups.
But how do I do this with the keyboard?
I've [http://lifehacker.com/#!5719596/switch-between-tab-groups-in-firefox-with-a-keyboard-shortcut read] [http://ubuntuforums.org/showthread.php?t=1705714 that] Ctrl-`should move me through tab groups. That doesn't work for me on my Danish keyboard. (Where the ' and ` chars are weird. But is how they are on a valid standard Danish keyboard) I've tried changing the keyboard to USA and then moving through tab groups works fine.
In short: Pretend I don't have a mouse. How do I use Panorama / Tab Groups?Sorry. These are both known bugs:
[https://bugzilla.mozilla.org/show_bug.cgi?id=587010 Bug 587010] - Add keyboard UI for manipulated groups and tabs in Tab Candy
and
[https://bugzilla.mozilla.org/show_bug.cgi?id=626594 Bug 626594] - shortcut for switching tab groups is badly accessible on many non-US keyboard layouts -
How to create new groups (list) for storing user's data?
Hi,
I'm using cq-5.4 and I was undertaking the campaign management tutorial which explains about how to send out a weekly news letter. As a part of that I was creating a sign up form for subscribers to fill out. So after filling up that form, user's data would get stored somewhere and eventually that data will be used while sending out the weekly news letters to him.
This was the link I was referring to for that,
http://dev.day.com/docs/en/cq/5-4/wcm/campaigns.html#Create a Sign Up Form
So on that link, the 3rd screenshot talks about how to set the form action. They have for example set the form action to 'Create and Update Account' and accordingly under 'Action Configuration', 'geometrixx newsletter' is assigned as the 'Initial Group'. But they never talked about how to create the 'geometrixx-newsletter' group? Where to create that group etc. Hence, after completing the form when I press submit, nothing happens. In reality whatever data I entered should've got stored in the 'geometrixx newsletter' group.
So that is the place where I'm stuck. Can someone tell me how and where should i create this group?
Thanks!Hi,
Thank you for posting the screen shots I have been unsuccessful in determining exactly where the problem is coming from. Would it be possible for you to post the actual VI so that I can work with it so see if I can reproduce this issue using your code? In regard to your questions:
1. You are correct 1000 samples read should write 1000 samples to the table
2. I believe the discrepancy is due to amount of manipulation done between the read and the file write but I cannot be certain, without the code to work with.
3. I am unclear as to exactly what is happening. If you are reading empty channels then you may receive erroneous readings this is to be expected. When you connected your accelerometer did you connect in RSE or differential? You can also manipulate the signal range with will affect the gain setting, how off are the readings?
JaceD
Signal Sources Product Support Engineer
National Instruments -
How to allow CS users to update metadata on several items? (UCM 10gR3)
In the UCM 10gR3 portal user interface:
It is convenient for us to allow users to update metadata fields on a group of items in one action. We want to allow users to select any number of files from a CS search result.
After selecting the items, we want to users to be able to set new values for some fields (e.g. Security Group and Document Type) without touching the values of the other metadata fields (such as Author).
This seems to be pretty basic functionality, but we cannot seem to find it in the CS user interface. What is the easiest way to do this in the CS user interface?
Thanks!Unfortunately freezing the metadata model is not an option in practice. While we may make a model that serves us well for the time being, we are likely to end up in a situation where the outside world invalidates our metadata model.
A hypothetical case
From the UCM Administration Manual:
"Choose only static information as a security group. For example, department names change infrequently, so they can be considered static; projects come and go, so they might not be considered static."
Although department names may change infrequently, they are likely to change sometimes. Sometimes departments are split up or merged.
A real case
In our concrete case, a project will generate a large amount of content distributed over many content items. After the production of this content within the project the responsibility will be transferred to a number of different departments. It is thus impossible to know in advance which metadata model will be suitable and it seems that the archiver is inefficient in solving the problem of delegating the content to different security groups.
Obviously, we are not interested in making heavy customization that we need to maintain. And reassigning the security group of many content items individually is not a feasible solution.
Has anyone had similar needs? What solutions have you used? -
How do I move a group of tabs before closing a window?
I recently lost all my custom settings on Firefox after an aggressive tech support person "cleaned" my browser settings. When this happened, I lost the ability to move my open tabs to a new group before closing the window they were in.
Previously, when I had multiple windows open, and I initiated an "Exit" or "Close" command on one of the open windows, 2 things happened:
(1) First I received a warning message asking me if I wanted to close the window
(2) Then I received a second warning message asking me if I wanted to move my tabs before closing the window.
Now, I only receive the 1st message, and I am no longer offered the option of moving my tabs to a new window before closing the current window.
I've tested this both with and without the Tabs Group Manager which I was using prior to the time my browser was "cleaned", and I still have not found a way to restore this missing feature.
Unfortunately, I don't know if this feature/option is:
-- provided as a default in Firefox
-- a customizable feature in Firefox, or
-- a feature in a Firefox add-on.
Can anyone tell me where/how to restore this option to move a group of tabs before closing a window?
Thanks,
MettaThank you, guigs2, for your feedback, and my apologies for the confusion. After rereading my question, I realize I made a couple of typos in my original help request which cannot now be corrected. Specifically, the 2nd sentence in the first paragraph should have read:
"I lost the ability to move GROUPS of open tabs to a new WINDOW before closing the window they were in."
This means that, as far as I can tell, neither of your plugin recommendations applies:
-- Apparently, Tab Mix Plus only applies to manipulating tabs WITHIN the existing window and, unless I am missing something, I did not see any reference to the option I'm looking for -- specifically, an automatic prompt offering to move groups of tabs to a new window before closing the existing window.
-- Unfortunately, the other plugin you mentioned (Tag Cloud) appears to be non-functional in the current version of Firefox, based on the most recent user reviews.
In light of this, I will consider the possibility of resubmitting my question with the typos corrected -- and, in the meantime, if there is any additional feedback that you (or anyone else) can offer, I would be most grateful! -
Error while importing configuratio data of stellent 7.5.1 in OCS 10gR3
Hi,
I am upgrading Stellent 7.5.1 to Oracle Content Server 10gR3. On Stellent 7.5.1 I created a Template i.e. wwCmuExport and then explicitly selected Aliases, Security Groups, Roles & Personalization Data from Content Server Section. While importing it on 10gR3 it just hangs at Roles dependencies check and always gets the following error:
Roles
Error reading binder 'C:/Oracle/ucm/cmu/idc/bundles/user-roles-stellent_file-11-20090826T190001/roles/' File 'C:\Oracle\ucm\cmu\idc\bundles\user-roles-stellent_file-11-20090826T190001\roles' does not exist.On stellent 7.5.1 there are roles,groups tc. I even tried taking a full export of everything but it always fail at the Roles dependencies check. Any idea what might be the issue or which log file to look at. As I have external LDAP providers defined on Stellent 7.5.1 but on 10gR3 I did not define those yet and just am trying to import the configuration data etc. Are there any pre-reqs for importing nfiguration data that LDAPproviders etc shouldbethre. Don't know if the roles thing have to do anything with the providers not yet being defined on 10gR3. Any help is appreciated.
ThanksAny firewall issues?
From the 7.5.1 machine can you open a command prompt and then telnet to the 10gR3 instance on port 4444? If you do that and you just get a hung response that means it connected. If you attempt and you get denied right away then you have kind of firewall/network stuff to work out.
-Jason Stortz
http://www.corecontentonly.com
http://www.redstonecontentsolutions.com
Maybe you are looking for
-
DBC file error while runing PG.xml in jdeveloper
HI 1) I have installed Oracle database 10g on my local machine at location C:\oraclexe 2) Now I have installed Jdev 10G on my local machine at location C:\Jdev10gOAF 3) I have set the env variable JDEV_USER_HOME = C:\Jdev10gOAF\jdevhome\jdev 4) Now I
-
HI, I have a Dell 3000CN Network Laser Printer. How do I get it to work with my Mac (IMac i3 17 Quad Core) ? Help Please
-
hi all, I have copied the standard program GP49GVYDGHSFRBGM9CYT2E1I1S2 (assigned to the transaction code S_ALR_87012168) to the custom program ZFI*****, Could you please let me know how to configure the custom program to the node FBRD01RFRRD20 0SAPDU
-
Unable to Update Filters Error Message
Has anyone else had difficulty editing or deleting their Email Filters? I set up about 15 filters several years ago before Verizon changed the email format and have been unable to do anything with these filters for a couple of years now. Below is t
-
when changing combobox alpha from 1 to 0, the combobox itself fades, but the selection is still visible.. is there any way around this?