Elimination of duplicates while adding 2 lists
I would like to add 2 ArrayList namely list1 and list2 and at the same time,i want to eleminate the duplicates.
Are there is any efficient method to do this?
Thanks
It works well.
ThanksWhat kind of performance do you get with the removeAll() technique mentioned above?
If performance is an issue, pre-sorting the lists and then merging them intelligently might be a superior way (although it definitely fails in the simplicity department!) .
Similar Messages
-
How to create new subsite while adding new item to the list by using javascript?
hi,
I hav a task ie, when I add item to the list then subsite will create with that list item title and description . So By using javascript, I have to create subsite while adding new item to the list.
Help me to solve this.
Thank you,Is your item getting added through Javascript client object model ? If yes, you can write in the success delegate of your list creation method the logic to create the subsite.
function CreateListItem()
var clientContext = new SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle('List Name');
var itemCreateInfo = new SP.ListItemCreationInformation();
this.oListItem = oList.addItem(itemCreateInfo);
oListItem.set_item('Title', 'My New Item!');
oListItem.set_item('Body', 'Hello World!');
oListItem.update();
clientContext.load(oListItem);
clientContext.executeQueryAsync(Function.createDelegate(this, this.CreateListItemOnSuccess), Function.createDelegate(this, this.onQueryFailed));
function CreateListItemOnSuccess() {
var subsiteTitle = oListItem.get_item('Title');
//Logic to create a subsite
function onQueryFailed(sender, args) {
I have added a sample flow for the above scenario. Have a look at the following lnk for how you can craete a subsite using ecmascript.
http://ravisoftltd.wordpress.com/2013/03/06/sharepoint-2010-create-site-with-ecma-script-with/
Geetanjali Arora | My blogs | -
An error occurred while adding the Cluster to the list
Hello,
I've installed the HFM 9.3.1 client on a Windows Server 2003 machine and now I'm attempting to configure it. I get all the way to the Server/Cluster Registration and when I try to add my one and only HFM application server to the list I'm present with this error.
"An error occurred while adding the Cluster to the list".
I don't see anything of use in the config tool log and as a result, I'm stuck. The odd thing is that not more than 10 minutes previously I added just finished installing the HFM client on another Windows Server 2003 machine and it installed / configured perfectly.
What am I missing?
Thanks!You may have a DNS error of sorts. From a command line on the server which presents the error, ping the servername you are trying to reach. Do not use the cluster name, but instead use the server name or IP address. If you successfully reach it, use this in the registration utility. Once the server has been reached, it will return the cluster's name. If you cannot reach it using ping, focus on the underlying DNS problem.
--Chris -
Javascript errors while adding attachment to list on ribbon sp 2013
Hi All,
Javascript errors while adding attachment to list sp 2013
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Mon, 20 Oct 2014 09:49:13 UTC
Message: Object required
Line: 1
Char: 122565
Code: 0
URI:
https://server.com/_layouts/15/form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D
Screen become blank and nothing is dosplayed when attach item is clicked for custom list
RaviHi Ravi,
According to your description, my understanding is that you encountered the error "Object required" when you try to add attachment to list in SharePoint 2013.
For your issue, you can refer to the blog:
http://kiran-kakanur.blogspot.com/2010/02/how-to-resolve-object-required-error-in.html
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Help needed in removing duplicate items of list box in java
How to remove duplicate items of list box while dynamically inserting (on-click event)
It is not identifying duplicate data
Variable name is HP_G1
HP_dmg1 = (DefaultListModel) HP_G1.getModel();
int a = HP_G1.getModel().getSize();
System.out.println("HP list no--------> "+a);
if(a!=0)
for (int j=0; j<a; j++)
String item1 = String.valueOf(HP_List.getModel().getElementAt(j));
System.out.println("HP list added--------> "+item1);
if(HP_dmg1.equals(item1)){
HP_dmg1.remove(j);
else
HP_dmg1.addElement(GPL);
}Your code is unreadable, so I'll ignore it. In the future please press the message editor's CODE button to format code.
As to your problem, to the point you normally use a Set instead of List when you don't want duplicates in a collection. -
Error while adding a custom field with Input help via AET
Hi All,
I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
One field is required to have the input search help f4 and autopopulates the second field
I am able to add one field(not requiring help) successfully through AET .
I have created one Zsearch_help in se11 and its successfully running and Autopopulating seocnd field while I am testing it
While adding second field through AET,I need to enter following details as -
field label,search relevant ,serach help etc.
When I type the name of my 'Zsearch_help' against field search help it gives me following error
'Search help is not compatible'.
Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
Please help me out.Kindly be detailed as I am new to SAP CRM.
Thanks,
ShivaniThe question is answered in CRM 7.0 forum:
Getting error while adding a custom field (with input help) through AET -
'No detailed information exists for this person' while adding new reviewer
Hi All,
<b>This is an extremely urgent issue.</b>
We are getting the following message in SRM while adding a new approver to the Shopping cart once the - 'No detailed information exists for this person'
<b>We have implemented the following OSS Notes in the SRM 5.5 system, Release 700 after rasing a call with SAP.
SAP Pilot OSS note - 1002957
Other OSS Notes -
999528 Adding Ad Hoc Approver fails due to comit erro...
722357 Ad hoc: Commit control with ad hoc enhancement...
990467 Commit Problem with AdHoc Agents...
984582 Problems with Posting Container Data (ad Hoc
agent...
947296 Inserted/changed approver is not transferred...
910925 SRM Workflow: Ad-hoc agent not found...
803628 BADI workflow: You cannot add an approver</b>
Here are the details
<b>Cannot add additional approver</b>
We are now on SRM 5.5 and a document attached shows the
patch levels
from SPAM.
In shop transaction, it is possible to change the
default approvers,
but not possible to Add.
When we add, the system shows the list of available
approvers, allows
selection, but "transfer" button does not actually
transfer.
When the cart is saved, the added approval shows as "no
approval
available".
We are using the standard workflows for 2 step approval.
A document is attached to show what happens and the
results of checks
we have performed.
BUS2121 also shows as ok when checked.
Any pointers what could be possible reasons.
<b>Points for sure. !!</b>
Regards
- AtulHi Atul,
Here is the list.
|----- 0000702787 EBP 4.0: Message "Enter a country"
|----- 0000732828 E-mail messages for work items with incorrect line break
|----- 0000735026 Memory problems at BBP_GETLIST_INDEX_FILL
|----- 0000804317 SRM40/SUS/PO: PO inbound with error BBP_PD 147
|----- 0000862851 PO not ordered due to different locations error
|----- 0000902956 Changing Account assignment category BE Limit service PO
|----- 0000911446 No reservation is created
|----- 0000917869 SRM 5.0: PPOMV_BBP - Vendor address tab page
|----- 0000919553 SRM 5.0: Termination of output preview for invalid partner
|----- 0000920363 Shopping cart transfer: Sourcing indicator is not set
|----- 0000924218 SRM 5.0: wrong error message for non existant auth. PurchOrg
|----- 0000924811 SRM5.0: Javascript error on document screen
|----- 0000926750 Shopping cart: Unit of measure is not restored
|----- 0000926878 Link for expanding details in the shopping cart too small
|----- 0000927142 SRM5.0: Browser hangs up during attachment upload
|----- 0000938168 SRM50: Message "No default value from vendor master"
|----- 0000938296 JavaScript runtime error in the bid invitation
|----- 0000940805 BBPS_SC_APP_SOS cannot be enhanced
|----- 0000941935 External requirements displayed as a reference
|----- 0000942742 Update is cancelled if new source of supply is found
|----- 0000944592 No location when vendor has changed
|----- 0000944918 ECS: Find back end purchasing group as a responsible group
|----- 0000945601 Termination when you display purchase order item detail
|----- 0000948425 Shopping basket changeable although already approved
|----- 0000953238 Shopping cart history in the sourcing cockpit
|----- 0000954066 Follow-On Documents Tab does not get Highlighted
|----- 0000954409 Error message during approval of a confirmation
|----- 0000955377 Long runtimes for workflows with blocks
|----- 0000956108 Empty worklist after clicking button 'Find'
|----- 0000956723 BBPMAININT:Bus. partner display switches to maintenance mode
|----- 0000956797 RUSRM50: Limit Purchase Order Functional Area Error Message
|----- 0000957884 Category Management: Data disappears after program SAVE
|----- 0000958045 BBPSC04: Delete icon not hidden despite screen variant
|----- 0000958349 Final delivery with quantity 0
|----- 0000959528 During PO creation wrong error message BBP_PD 428
|----- 0000960169 Favorites not saved for 'Purchase for'
|----- 0000961422 BBP_MON_SC: No search help for 'Created By'
|----- 0000962093 BBP_VENDOR_CREATE: Refresh BP data
|----- 0000962252 BBP_GETLIST_INDEX_FILL: Incorrect processing statistics
|----- 0000962474 Error after changing partner data
|----- 0000964132 Approval Preview for Rejected Items: Wrong User's Inbox
|----- 0000964361 Cannot find employee of vendor
|----- 0000964455 Country for the PO box is initial
|----- 0000964911 Kopieren von Alertkategorien: Containerelemente verschwinden
|----- 0000966072 Download of material fails - set type COMM_PR_UNIT
|----- 0000966323 Service Item: Not able to create PO in ERP backend
|----- 0000967429 Approval buttons not updated after release
|----- 0000967615 Performance of BBP_PD_PO_GETDETAIL may be poor
|----- 0000968110 Transfer canceled, account assignment acc. to value/quantity
|----- 0000968251 BBPSC02:In source of supply preferred vendor not validated
|----- 0000969091 SRM does not support passwords longer than 8 characters
|----- 0000982293 Ext requirements: Purchasing group data not transferred
|----- 0000982448 Impossibility to delete an item in PO
|----- 0000982674 Change PO quantity does not update account assign quantity
|----- 0000983130 Search for back-end purchase orders using the requester name
|----- 0000984184 BADI BBP_ALERTING active but its implementation isn't called
|----- 0000985179 Delete button active for backend service entry sheets
|----- 0000990264 Multiple confirmations cannot be posted for service & limit
|----- 0000996104 No catalog when confirming back-end blanket purchase orders
|----- 0001003408 BBPCF: Cannot Add Catalog Item to Confirmation for Limit PO
0001010791 Flag Confirmation based Invoice Verification set erroneous
Kind regards,
Yann -
HELP! I had a duplicate contact added to my iPhone 1390 times!!!!
I have an iPhone 3gs (yes, I'm still living in the past), I have multiple contacts that randomly get added to my list of contacts. "Random" because it is mostly not even people I contact at ALL, by email or phone. Some of the contacts are only people I receive emails FROM (like for newsletters).
For example, one entry is an email of a friend - btw I NEVER use that email, I call her - the entry that only has her email was added to my iPhone 1390 times!!!!
That is not the only one that is duplicated. My contacts are almost unusable because of these enormous numbers of random duplicates being added.
I have 2 questions:
How do I stop my phone (or is it icloud?) from creating these duplicates
and
How can I clean this all up?
Oh, let's add a third question:
My phone is syncing the contacts to icloud (that is how I got the number of duplicates) but my icloud contacts are not syncing with my MBP running Lion (10.7.5). How can I get all of my contacts to synchronize nicely?
If all of my contacts would be on my MBP, I could merge the duplicates but they aren't there ... yet.
I am not synchronizing with google or yahoo or ..... only with icloud, my phone and my MBP. I have my phone to sync over the air in itunes.
Also, since I thought everything was synchronizing nicely, I add contacts on my phone or on my computer in about equal amounts. So, that means that I can't just erase (write over) what's on my phone or on my computer.
I want to sync with a new iMac and upgrade to Mountain Lion too but I want to get this straighted out first. I DO have icloud enabled on my MBP and my iphone.
Can someone help me please??
ThanksI just found another address book entry that was repeated 2473 times!!! This is a just a little ridiculous, don't you think? And why that one? Most are ok but ....
-
Error while adding principal to a process
Hi All,
I am getting the following error while adding security principal to Task Manager for my process,
Caused by: | [com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClie
nt] errorCode:16385 errorCodeHEX:0x4001 message:Exception wrapped in DSCExceptio
n is Null or NOT An Instance of UMException chainedException:ALC-DSC-012-000: co
m.adobe.idp.dsc.registry.ServiceNotFoundException: Service: DirectoryManagerServ
ice not found.chainedExceptionMessage:Service: DirectoryManagerService not found
. chainedException trace:ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotF
oundException: Service: DirectoryManagerService not found.
at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.getServic
e(ServiceRegistryImpl.java:972)
at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.getHeadAc
tiveConfiguration(ServiceRegistryImpl.java:830)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.resolveConfiguration(
ServiceEngineImpl.java:146)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:58)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMes
sage(AbstractMessageReceiver.java:88)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessa
geDispatcher.java:210)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(A
bstractMessageDispatcher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:2
08)
at com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient.
findPrincipals(DirectoryManagerServiceClient.java:835)
at com.adobe.repository.ui.aac.commands.FindPrincipalsCommand.execute(Fi
ndPrincipalsCommand.java:127)
at com.adobe.repository.ui.aac.commands.CommandProcessor.execute(Command
Processor.java:56)
at com.adobe.repository.ui.aac.struts.actions.FindPrincipalsAction.execu
te(FindPrincipalsAction.java:115)
at com.adobe.repository.ui.aac.struts.actions.CommandProcessorAction.exe
Any help is greatly appreciated.
Thanks
RaghuI am using RHEL 5 - 64 bit Linux on 3-Tera Virtual host with Java 5,MySQL and adobe pre-configured Jboss 4.2 to install LiveCycle 8.2 and My intension is to get the Rights Management Service Installed . After configuring the .ear files(using Rights Management alc-lfs not excluded-solution component in the LCM CLI properties file ) and running the Jboss , I get the Jboss Running but with following Error
ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.do RequiresNew(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.ds c.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException:
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doR equiresNew(EjbTransactionBMTAdapterBean.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.lang.NoClassDefFoundError: com/adobe/dctmconnector/config/DctmConnectorConfigBean
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl$12.doInTransact ion(ComponentRegistryImpl.java:877)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doR equiresNew(EjbTransactionBMTAdapterBean.java:218)
... 199 more
2009-06-16 10:23:02,554 ERROR [com.adobe.idp.dsc.startup.DSCStartupServlet] DSC Startup failed. Reason: Internal error.
2009-06-16 10:23:02,554 WARN [com.adobe.idp.dsc.startup.DSCStartupServlet] Unable to start the DSCManager
and upon running the deploy liveCycle Component using LCM CLI task
./ConfigurationManagerCLI.sh deployLiveCycleComponets -f cli_propertyFile.txt
I see that few of DSCs (especially the adobe-usermanager-dsc ) were never started by the installer and It stopped throwing Exceptions While trying to deploy adobe-rightsmanagement-jboss-dsc.jar.
Progress: [5%, DSC already installed, but is not started adobe-remotingConnector-dsc.jar]
Progress: [8%, Deploying DSC adobe-usermanager-dsc.jar]
Progress: [8%, DSC already installed, but is not started adobe-usermanager-dsc.jar]
Progress: [11%, Deploying DSC adobe-usermanager-util-dsc.jar]
Progress: [11%, DSC already installed, but is not started adobe-usermanager-util-dsc.jar]
Progress: [14%, Deploying DSC adobe-jobmanager-dsc.jar]
Progress: [14%, DSC already running adobe-jobmanager-dsc.jar]
While LCM CLI tries to install RightsManagement DSC following exceptions are thrown
[2009-06-16 10:47:16,604], INFO, main, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, DSC not installed. DSC will now be installed: com.adobe.livecycle.RightsManagement /opt/adobe/livecycle8.2/deploy/adobe-rightsmanagement-jboss-dsc.jar
[2009-06-16 10:47:32,227], SEVERE, main, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy component /opt/adobe/livecycle8.2/deploy/adobe-rightsmanagement-jboss-dsc.jar.
com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-030-200]: \ to deploy component /opt/adobe/livecycle8.2/deploy/adobe-rightsmanagement-jboss-dsc.jar.
at com.adobe.livecycle.lcm.feature.deployment.DeployDSCs.deployDSCFiles(DeployDSCs .java:396)
at com.adobe.livecycle.lcm.feature.deployment.DeployDSCs.deployDSCs(DeployDSCs.jav a:149)
Caused by: com.adobe.idp.common.errors.exception.IDPSystemException: nullorigin: | [com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception wrapped in DSCException is Null or NOT An Instance of UMException chainedException:ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: DirectoryManagerService not found.chainedExceptionMessage:Service: DirectoryManagerService not found. chainedException trace:ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: DirectoryManagerService not found.
I tried to look for adobe-usermanager-dsc in the admin UI but did not find one over there . I even tried copying the adobe-usermanager-dsc.jar to pre-configured Jboss server/all/lib directory but that does'nt makes a difference .
I was suggested to use different combinations of excluded solution components in the cliProperties file
When I used the following list of excludedSolutionComponents I did not see the (ERROR [com.adobe.idp.dsc.startup.DSCStartupServlet] DSC Startup failed. Reason: Internal error.) but still the dobe-usermanager-dsc does not starts and I get the same errors of (com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: DirectoryManagerService not found.) when the LCM CLI reaches installing the Rights Management DSC.
excludedSolutionComponents=ALC-LFS-BusinessActivityMonitoring,ALC-LFS-ConnectorI BMContentManager,ALC-LFS-ContentServices,ALC-LFS-PDFGenerator,ALC-LFS-ProcessMan agement
#,ALC-LFS-RightsManagement,ALC-LFS-BarcodedForms,ALC-LFS-DigitalSignatures,ALC-L FS-Forms,ALC-LFS-Output,ALC-LFS-PDFGenerator3D,ALC-LFS-ReaderExtensions,ALC-LFS- ConnectorEMCDocumentum,ALC-LFS-ConnectorIBMFileNet
Any help on this issue will be highly obliged.
Thank you.
Mohammad -
Error while Adding the PlaceHolder to Home Page using Jdev,UCM
Hi,
I am Using UCM and Jdev 11g.
I was creating a website using Oracle® Fusion Middleware Developer's Guide for Site Studio for External Applications
11g Release 1 (11.1.1).
I worked fine till creating the place Holder Definition , I was trying to add place holder to Home Page.
In this step I did not get the property 'Switch Placeholder Definition Role' in the List when exploring the node WebSite.
Plaese help me resolve this.Hi chris,
Thank you for your response.
I am using oracle db. It seems that it is trying to insert record into L10_Locale table while portlet is added into home page. Does the record go to L10_LOCALE while adding portlet.
As per my knowledge, records goes to desktop,page and placement related tables while portlet is added.
When i see the L10_LOCALE existing records, it has two 2 records.
Encoding Language Country
UTF-8 en US
UTF-8 en
you said that Locale for the title or description is too long... Is it for Portlet's title of locale ...?
Then, what is the relation of title and this error ...
Please clarify this ...?
Regards,
Senthil -
Error while adding subscriber in UNITY
While adding the Subscriber, it shows the below error eventhough all the domain rights and permissions has been added.
Error fetching MailStore list (for server ECAE-MSG-SRV).
hr=0x8004010F (0x8004010f)
Check that the AVDSGlobalCatalog is registered and running.
Please see your Cisco Unity system administrator for more detailsHi,
We'll need some more details.
What version of Unity?
What version of Exchange?
Is this a new installation?
Has this ever worked?
Has the Unity server hostname been changed since Unity was installed?
Did you recently change anything on the Exchange side?
1. Double check that the permissions for UnityDirSvc have been correctly delegated exactly according to
http://www.ciscounitytools.com/Applications/Unity/PermissionsWizard/Unity50/Help/PWHelpExchange_ENU.htm Giving it too many permissions can break things. You may need to force a DC/GC reconnect and make sure that Unity is able to talk to the GC properly (view the event logs to make sure), otherwise finding the Exchange server will never work.
2. You can also verify the below, however ***Do this at your own risk, it involves manual database modification that could compromise Unity if done improperly***
Stop Unity
Go to the SQL Server Enterprise Manager,
Open Microsoft SQL Servers
- SQL Server Group
- (Local) (Windows NT)
- Databases
- Unity Db
Tables
Right-click on 'MailboxStore'
Select Open Tables > Return All Rows
Arrow over to the 'HomeServer' field and verify if this partner mail server is correct. If not, this needs to be changed.
Restart the Unity server
Hope that helps,
Brad -
Ora-2270 Error while adding foreign key constraint on top a view
While adding a constraint, referencing a foreign key column from a view raises error. However, it works fine over a table.
Here's the sample script:
create table t_temp (
sample_id number,
text varchar2(40))
alter table t_temp add constraint temp_pk
primary key (sample_id);
create view tempvw as select sample_id,text from t_temp;
create table t_sample (
uniq_id number,
sample_id number,
sample_text varchar(40));
=========
ALTER TABLE t_sample ADD CONSTRAINT FK_sample_temp
FOREIGN KEY (sample_id) REFERENCES t_temp (sample_id);
This works fine.
=========
==============
The following raises ERROR....
ALTER TABLE t_sample ADD CONSTRAINT FK_sample_temp1
FOREIGN KEY (sample_id) REFERENCES tempvw (sample_id);
Error starting at line 1 in command:
ALTER TABLE t_sample ADD CONSTRAINT FK_sample_temp1
FOREIGN KEY (sample_id) REFERENCES tempvw (sample_id)
Error report:
SQL Error: ORA-02270: no matching unique or primary key for this column-list
02270. 00000 - "no matching unique or primary key for this column-list"
*Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement
gives a column-list for which there is no matching unique or primary
key constraint in the referenced table.
*Action: Find the correct column names using the ALL_CONS_COLUMNS
catalog viewWhat exactly are you trying to accomplish by having a
referential integrity constraint on a view (which is
not allowed). PKs and FKs are allowed on views. DISABLE NOVALIDATE is the only allowed state for them. View constraints are used for query rewriting: http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/qradv.htm#sthref1457
Regards,
Dima -
Disable event firing while updating list item in custom timer job
Hi
I am adding new items in the list usign custom timer job.
While adding the items in the list event receiver of another list (which is not related to list which is updating) is getiing fired due to which I am getting data wrongly updated and exceptions are comming.
why the another lists event recevier is executing while updating my list?
How can I disable event firing from timer job code?
please suggest any solutionHello,
It seems you have deployed your event receiver globally and it is applied to all the lists. I can suggest two ways:
1. Either you update your event receiver feature.xml file and attached to specific list, wherever you want. You can follow below link to attach event with specific list via code:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceiverdefinition.aspx
Or instead of code you can also pass ListUrl in feature.xml file:
http://msdn.microsoft.com/en-us/library/ff398052.aspx
2. OR delete event receiver from the list: You can use below code in your timer job to delete event receiver
http://sarangasl.blogspot.in/2009/11/remove-event-receiver-in-sharepoint.html
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
While adding localization for appstore meta data, I cannot find the language Polish (Polski) under the option Choose another language: in iTunes connect.
I am updating the app to a newer version. I need to show the App description etc in Polish too. But I can't fnd the Polish in the list of languages that can be
added. Screen shot of languages is attached.
Thanks.Hi,
According to your post, my understanding is that you have an issue about adding attachments to list items in app.
To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
There are two articles about retrieve the list and list items in the host web, you can refer to them.
http://www.dotnetcurry.com/showarticle.aspx?ID=1028
http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
What’s more, we can also use the REST API to achieve the same scenario.
http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Dear friends,
While adding an IPS to CSM (through Add from Network option), i don't see the OS Type listing IPS as an option? I only see ASA, IOS and other options.
If i go to Tools-->IPS Manager, i still dont see an option to add IPS but only re-import and reboot.
The version of CSM that i am running is 3.01.
I also installed the CSM IPS patch.
I hope that i am adding the IPS the right way.
Is there any workaround for this
Thanks a lot
GautamA shared member is a virtual copy of the "real" member and cannot have a different alias than the "real" member. Once you have an alias on the "real" member the shared member will automatically have the alias as well.
Maybe you are looking for
-
Can't find a zip file with latest document on datamining business example
I had found a zip file that had something like 30 pdf's in it that were very helpful and can't find it again. It had the latest example of how to do a promotional study of sales from an electronic store. I remember it showed a graph of quickly showin
-
Resolution of my macbook changed to 256
I was connected via bluetooth to another mac. When the other mac tried to send me a file via blue tooth the resolution of my computer changed to 256. I have tried to do many things to change it back and nothing works. Anyone has idea of what is happe
-
Help! everytime i press space my page scrollsdown , everytime i press delete the option to leave the page im on appears. mY I PHOTO is damaged(i cannot open it ) some pages on the internet sduch as openuniversity when i get onto the page is just clos
-
Best way to programatically re-size graphs?
I have a window that pops up, containing X-Y graphs, that are say, 600 pixels wide. Under some circumstances, I want to reduce this to say, 400 pixels, and uncover a cluster of numeric displays occupying the other space. I would like to set the BOUND
-
How does sun cc support GNU C?
I fail to build theora on solaris_x86, it seems some it does not support GNU C style. $cc -V cc: Sun C 5.8 Patch 121016-02 2006/03/31 usage: cc [ options] files. Use 'cc -flags' for details How can I deal with this situation, - Waiting for new compli