Creating List with Lookups based on metadata
Good morning,
I have a large library with thousands of files that all have an Activity_Number & Doc_Classification. Each Activity_Number should have multiple files with Doc_Classification's "1","2" & "3" etc.
For audit reasons, I'm trying to create a list where I can paste Activity_Numbers into a column and bring back a lookup from the library with columns for each Doc_Classification 1, 2, 3 with a Yes it exists or No it doesn't.
Is this possible out of the box? I've managed to do a lookup for that Activity_Number and it pulls just a random Doc_Classification, but how can I get it to grab all of them?
Please help!
Thank you!
Yes its possible OOB but require little effort to update Activity_Number for all records. Follow below steps:
Create lookup column for Activity_Number in your document library
Now go to view all items of document library, click on library tab and then select Quick Edit (Excel view)
Select Activity_Number(old) and copy fields, and paste them in the Activity_Number lookup column.
Once you complete it, you can match the fields as now both fields will be showing same value (old and new)
Now you can delete the old field.
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.
Similar Messages
-
Can it possible to create advancetableRN with eo based vo
Hi gurus,
i am trying to create advance tableRN with eo based vo.
but i got the error.
plz help me.
Thanks
latha
Edited by: Latha on Dec 30, 2011 2:09 AMHi Sanu,
Thanks for ur replay.
when i create advancetableRN with EO based VO i got the below error.
plz help me its very urgent.
oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ManagerCustomTableEO.
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2586)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1674)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:597)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at wnsgs.oracle.apps.pa.managerinformation.server.ManagerInformationAMImpl.CustomtablePronoLogic(ManagerInformationAMImpl.java:124)
at wnsgs.oracle.apps.pa.managerinformation.webui.ManagerDetailsCO.processFormRequest(ManagerDetailsCO.java:46)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2586)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1674)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:597)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at wnsgs.oracle.apps.pa.managerinformation.server.ManagerInformationAMImpl.CustomtablePronoLogic(ManagerInformationAMImpl.java:124)
at wnsgs.oracle.apps.pa.managerinformation.webui.ManagerDetailsCO.processFormRequest(ManagerDetailsCO.java:46)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
thanks
Latha. -
Site lookup columns that contain a list with lookup columns help needed
Here is the theoretical scenario,
I have a list called Shirts. The list contains name,color, and size columns.
I have a list called Pants This list contains name, color and size columns as well.
These two lists are contained at the root level of the site. I created site lookup columns for these two lists and used the name, color and size columns as additional fields on both lookup columns. Lets call these lkupPants and lkupShirts.
On a sub site I have a list called people. It contains name,date,lkupPants and lkupShirts columns.
The list looks something like this is dataview:
Name Date lkupPantsName lkupPantsColor lkupPantsSize lkupShirtName lkupShirtColor lkupShirtSize
This is the behavior I expected. The additional columns selected in the site lookup columns appear in the list.
I now create another site lookup column this one is based on the list called people at this subsite level. When creating the site lookup column, the data from lkupPants and lkupShirts are not available.
How can one create a lookup column that contains list data and any lookup columns contained in the list as additional fields.
If anyone can see where I am going with this, can they provide another means to accomplish what I am trying to do?
fr0stsp1recreate additional columns in people list. look up values are available in the workflow so populate the additional columns with the values you need. this will allow you to create another look up column based on this list and all the fields needed.
just a thought.
kashif -
How to create formula with lookup table
Hi, I would like to convert formula in the below to labview format, any idea how this could be done easiest way?
I'm planning to use formula node but I'm not not sure about how to use lookup table inside the formula or is it even possible?
br, Jani
Dim dblLookUp(,) As Double = New Double(3, 1) {{4, 4}, {10, 200}, {60, 3000}, {100, 7000}}
If dblAbsValue >= 0 And dblAbsValue <= dblLookUp(0, 0) Then
dblk = dblLookUp(0, 1) / dblLookUp(0, 0)
dblValue = dblAbsValue * dblk
'lblMode.Text = 1
ElseIf dblAbsValue > dblLookUp(0, 0) And dblAbsValue <= dblLookUp(1, 0) Then
dblk = (dblLookUp(1, 1) - dblLookUp(0, 1)) / (dblLookUp(1, 0) - dblLookUp(0, 0))
dblValue = dblk * dblAbsValue - dblk * dblLookUp(0, 0) + dblLookUp(0, 1)
'lblMode.Text = 2
ElseIf dblAbsValue > dblLookUp(1, 0) And dblAbsValue <= dblLookUp(2, 0) Then
dblk = (dblLookUp(2, 1) - dblLookUp(1, 1)) / (dblLookUp(2, 0) - dblLookUp(1, 0))
dblValue = dblk * dblAbsValue - dblk * dblLookUp(1, 0) + dblLookUp(1, 1)
'lblMode.Text = 3
ElseIf dblAbsValue > dblLookUp(2, 0) And dblAbsValue <= dblLookUp(3, 0) Then
dblk = (dblLookUp(3, 1) - dblLookUp(2, 1)) / (dblLookUp(3, 0) - dblLookUp(2, 0))
dblValue = dblk * dblAbsValue - dblk * dblLookUp(2, 0) + dblLookUp(2, 1)
'lblMode.Text = 4
Else
dblValue = dblLookUp(3, 1) '* Math.Sign(dblValue)
'lblMode.Text = 5
End If
Return dblValue * intSign
Solved!
Go to Solution.Hello janijt,
You can definitely use formula node for it. What you would do is to create a constant array for the lookup table.
Here's an implementation in MathScript Node
Andy Chang
National Instruments
LabVIEW Control Design and Simulation -
Move sharepoint 2010 list to 2013 with lookup columns
Hi all,
Iam planning to move my sharepoint 2010 list to 2013.I done this using save site as template.But the look up columns are showing empty data.Can u please let me know the best solution to do this.
Regards,
PraveenThe reason the lookup column doesn’t work anymore in your SharePoint 2013 list is because Save
Site as Template, preserve all the list settings. Therefore, the lookup column still points to the original list which
was located on your SharePoint 2010 list. The lookup column stores GUID of the web, list, and the field to which it points
and GUID are unique IDs that identifies a list/library/site/feature in a farm.
Using SharePoint Manager you can find the LookupList, LookupWebId and LookupField of
your old SharePoint 2010 lookup column and compare it with your new 2013 lookup column. You will see the difference.
There are two approach to get your values in lookup again.
1(a). Create a new list and update the lookup values.
1(b). Delete the lookup column and create a new lookup column and point it to the new list created in the above point.
2. Update the SchemaXml property
of the lookup column through SharePoint Manager.
I will provide you with a good reference on how to use SharePoint Manager while managing your lookup columns. http://blog.johnsworkshop.net/moving-lists-with-lookup-columns-inside-your-site-collection/
Please remember to click 'Mark as Answer' and Vote as Helpful if the reply answers your query. -
How to take list backup with lookup columns data in sharepoint 2010
Hi friends,
I have one issue on "Copy the list in one sitecollection to another sitecollection"
I have one list like "ABC" and with lookup column "Status" this column is looked to anthor list columns
My task is i want to Copy the same list with lookup columns with Data(lookup columns Data) in one site and restored in another site.
Error is Lookup columns Data is not coming.
How to Copied list with lookup columns data to restored in another list?
Badrii think there is no such method to move the list with lookup column.
couple of things which cause the failure, Number Source list may be not available on the target site collection, Column IDs / List IDs different from Site collection a to B.
I would try to use the backup of site collection and restore it, i am not sure whether it will work not.
i think copy the data from the lookup clomn in the excel, then move the list to different site collection with blank data then copy the data from excel to new list.
check this one for another idea:
http://blog.johnsworkshop.net/moving-lists-with-lookup-columns-inside-your-site-collection/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Is it possible to create a numbered list with text label?
I'm using Pages 5.0 on Mac OS X Mavericks.
I'm writing a document that consists of tables and figures, which I'd like to number. For both objects I use a numbered list, which I prepend to the caption for easy reference. Ideally I'd like to have two lists (one for each type) with a label which contains both a text and a number, the tabels would look like this:
For tables: "TABLE <number>:"
For figures: "FIGURE <number>:"
While it's not hard to create lists with either a text or a number label, I can't figure out how to combine the two.
So my question: is what I'm trying to do possible and if yes, how do I achieve the desired effect?What you are asking for has never been a feature in Pages. I don't think that is an added feature in Pages 5.0 either.
-
Save site as template with lookup columns
Hi,
I created site template from my subsite where I use custom list with lookup columns and parent child list relationship, but If i create new subsite with the custom site template I get more errors:
System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace:
at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
at Microsoft.SharePoint.SPListInstanceElement.EnsureListExists(SPWeb web, Boolean bCreateFromSTP, Boolean bUserFeature)
Failed to instantiate list 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\Features\HierarchyTasksList\hierarchy'
Application error when access /_layouts/15/newsbweb.aspx, Error=<nativehr>0x8107058a</nativehr><nativestack></nativestack>Unable to perform the operation. Please try again.
at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
Int32& plWebTemplateId)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32&
plWebTemplateId)
Unknown SPRequest error occurred. More information: 0x80070002
Can anyone help me, how can I create subsite what I can use more times?
Thanks,
MykieHi Tailorworld
please try the power shell script because you are facing problumn with default content type feature
Run the SharePoint 2010 Management Shell as Administrator.
Run the following command to disable the default content type feature:
Disable-SPFeature –Identity ctypes –url http://SiteCollection
Then enable the content type feature:
Enable-SPFeature –Identity ctypes –url http://SiteCollection
If you look at your content types, they should now all be there. Try saving the subsite as a template again, it should succeed.
--------OR----
You can try Check the link
http://sharepoint.stackexchange.com/questions/32076/unhandled-exception-when-saving-a-site-as-a-template
https://support.office.com/en-ie/article/Save-a-SharePoint-site-as-a-template-5a4eb024-d1fa-4681-a4ac-e6bd1e3209ba
Please mark the Answer and Vote me if you think that it will help you to resolved your issue -
How do I create a smart album based on metadata content. I want to have one that has all my geo-tagged (latitude/longitude not blank) photos in it.
Dual G5/Dual G4/MacBook Pro Mac OS X (10.4.10) Extreme N/Apple TV/iPhoneYou can't. Smart albums can only search by album, any text, comments, date, filename, keyword, rating, roll, title, aperture, camera model, flash, focal length ,iso and shutter speed. You'll need to use another way to group them together.
However, you can use the demo version of iView MediaPro to catalog your library, find all photos with or without a GPS location, add a keyword to it and then write that keyword to the original file. Then you can copy those files, from the iView catalog window to a folder on the desktop for imorting into iPhoto as new fileswhich will then recognize the new keyword. (While you're at it, you should sync all the metadata to the original files with iVMP as described in Tutorial #1. This will preserve the keywords in case the library gets damaged and you have to create a new one and import the original files from the old library. Then you can delete the un-keyworded files from the library with a smart album: keyword is not xxxx.
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
MBP 2.16Ghz; G5 Dual Core 2GHz, 2G RAM ea, 250G HD; G4 Dual 1Ghz, 1.5G RAM; Mac OS X (10.4.10) 22" LCD, 710G FW HDs, Canon: SD700IS/i850/LIDE 50, Epson R200, 30G iPod, 2G Nano -
SELECT LIST WITH SUBMIT NOT POPULATING
I have 3 fields; They are ID, Shortname(PRIMARY KEY), Longname. Longname is a select list with submit based on an lov (called system_longname description) that has a return value of ID. I need to select a value (longname) from that list that will populate automatically the ID and Shortname fields. This is the code I'm using for ID and Shortname, which are both text boxes. The view VSYSTEMS is where the lov is getting it's values.
'SELECT ID FROM VSYSTEMS WHERE ID = :SYSTEM_LONGNAME DESCRIPTION';
'SELECT SHORTNAME FROM VSYSTEMS WHERE ID = :SYSTEM_LONGNAME DESCRIPTION';
Can anyone help me? I keep getting these error messages: invalid SQL statement or SQL command not properly ended.Matthew,
Is this a follow-up to Automatic field population by selecting a LOV ?
What is the purpose of 'DESCRIPTION' at the end of each query?
Scott -
Hi!
Version Info: SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
I have two lists, let's call them
-Assets
-Asset Checkouts
"Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
Basically, what I need to accomplish is this: I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
for "Asset Checkouts" with the values from the selected items in "Assets".
Any ideas or suggestions on how to do this would be most appreciated!
Thanks!Hi,
According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
If so, we can achieve it with SharePoint Client Object Model.
We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
new item in "Asset Checkouts" list with the values needed.
Here are some links will provide more information about how to achieve it:
Use
SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
How to: Create, Update, and Delete List Items Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
Add ListItem with Lookup Field using Client Object Model (ECMA)
http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
In the ribbon, click the button “Default New Form”:
Then we can add web part into NewForm.aspx:
Best regards
Patrick Liang
TechNet Community Support -
Chart based on Select list with submit Lov problem
Hi,
I have one page with interactive report showing username with links, date and
database actions.
Another page contains one region having flash chart based on select list with submit Lov.
The lov is created by dynamic query.
Every time when i click the 1st page report link, the 2nd page lov is populating the value automatically. But the problem is chart displays NO DATA FOUND message though the LOV has many values.
I don't want to display any null values so set to NO for LOV
I tried to write Before header computation (PL/SQL Function Body) to set the lov value, but the query is displayed as such.
I don't want to assign any static default value also as the values are dynamic for every link.
The following is my Before header computation of Select list with submit (Item name is p11_schema). (PLSQL Function Body)
begin
if :p11_schema is null then
return 'select distinct owner schema1, owner schema2 from auditing
where access_date=' || :p11_access_date
|| ' and username=' || :p11_username
|| ' order by owner';
end if;
end;
This is my chart query.
select null link, obj_name label, sum(sel_count) "Select", sum(ins_count) "Insert", sum(upd_count) "Update", sum(del_count) "Delete" from auditing
where username=:p11_username
and access_date=:p11_access_date
and owner=NVL(:p11_schema, OWNER)
group by owner, obj_name
Example: If there more than one records in the lov, the graph should display the 1st record. When i select another record, the chart accordingly display the selected values. But inially it should not display "NO DATA FOUND" message.
I tried using all the combinations of computation type for the lov, SQL query ( I could not use if conditon then), PLSQL expression, PLSQL function body. But it does not work out.
Can anyone please help me out.
Thanks.Hi Scott,
Thanks for your reply.
I found out the solution for this problem as below.
But i did it in different way to tackle the dynamic query wich returns more than one record using rownum always the 1st record when it is empty instead of assigning constant (static) value like '1'. And i am returning LOV itself for both null or not null condition as below.
Declare
q varchar2(4000);
begin
if :p11_schema is null then
q:='select distinct owner schema from auditing';
q:=q || ' where username=:p11_username ';
q:=q || ' and access_date=:p11_access_date ';
q:=q || ' and rownum<2 order by owner';
Execute immediate q into :p11_schema USING :p11_username, :p11_access_date;
end if;
return :P11_SCHEMA;
end;
Thanks. -
Creating a databound JSP pop-list (with dependent values)
I was able to create a databound JSP pop-list from the "How To Create a Databound Pop-list with Oracle JDeveloper 10g" article. Where would I have to modify the code so that I can define a WHERE clause to the DepartmentView object so that only a subset of values are displayed? My goal is to try to create pop-lists so that the values of pop-list #2 is dependent on the current value in pop-list #1.
You can create both static values and also
values based on record group .
I think you know how to create static values.
(for static just give the values in "Element List" property of list item)
Using Record group. see this example.
Declare
Rg_Id RecordGroup;
Rg_Name varchar2(20) := 'Type';
List_Id Item;
Temp Number;
Rowcount Number;
Begin
Rg_Id := Find_Group('Type');
If Not Id_Null(Rg_Id) Then
Delete_Group(Rg_Id);
End If;
Rg_Id := Create_Group_From_Query('Type','select empno,'
| |'empno'
| |' from emp ');
List_Id := Find_Item('CTRL_BLOCK.IT_LIST');
Temp := populate_Group(Rg_Id);
Populate_List(List_Id,Rg_Id);
End;
In the selection you must give two columns one for label and another one for value.
Try this and let me know if you have any problem.
Regards,
viji.
null -
Create a list with associated workflow from a list template.
Hi,
I have a calendar list with two workflows and I saved it as list template. Also I have an event receiver which creates a list based in this list template I created, but I noticed that the list is created without workflows. If I create the list
using the list template using SharePoint it does it with the workflows but my event receiver does not.
Here is my code:
if
(list == null){
web.AllowUnsafeUpdates =
true;
var lstTemp = web.Site.GetCustomListTemplates(web);
var template = lstTemp[listTemplate];
var listId = web.Lists.Add(listName,
string.Empty, template);
list = web.Lists[listId];
list.Title = listName;
list.OnQuickLaunch =
false;
list.Update();
web.AllowUnsafeUpdates =
false;
Thanks anyway.Hi,
According to my understanding, you have a list template contains workflow, you can create a new list with this template from UI. However, when create a list with this
template in Event Receiver, the workflow is missing.
I tried to reproduce by creating a list template contains an OOTB Approval workflow, then use an Event Receiver to create a list with this template, it turned out
that the workflow is attached to the newly created list.
I would suggest that you create another Event Receiver with the code snippet below to see if it is an issue of Event Receiver:
public override void ItemAdded(SPItemEventProperties properties)
base.ItemAdded(properties);
createListWithTemplateWithWF(properties);
public static void createListWithTemplateWithWF(SPItemEventProperties properties)
using (SPSite site = properties.Site)
using (SPWeb web = site.RootWeb)
SPListTemplateCollection listTemplates = site.GetCustomListTemplates(web);
SPListTemplate listTemplate = listTemplates["ListTemplate_List001_withWF"];
web.Lists.Add("List005", "List005", listTemplate);
Feel free to reply with the test result or if there any questions about this.
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
How to pass credentials/saml token exchange to the sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication
Identity provider here is Oracle identity provider
harika kakkireniHi,
The following materials for your reference:
Consuming List.asmx on a claims based sharepoint site
http://social.technet.microsoft.com/Forums/sharepoint/en-US/f965c1ee-4017-4066-ad0f-a4f56cd0e8da/consuming-listasmx-on-a-claims-based-sharepoint-site?forum=sharepointcustomizationprevious
Sharepoint Claims based authentication and Single Sign on
http://social.technet.microsoft.com/Forums/sharepoint/en-US/2dfc1fdc-abc0-4fad-a414-302f52c1178b/sharepoint-claims-based-authentication-and-single-sign-on?forum=sharepointadminprevious
Sharepoint Claim Based Authentication Web Service issuehttp://social.msdn.microsoft.com/Forums/office/en-US/dd4cc581-863c-439f-938f-948809dd18db/sharepoint-claim-based-authentication-web-service-issue?forum=sharepointgeneralprevious
Best Regards
Dennis Guo
TechNet Community Support
Maybe you are looking for
-
Upgrade-phase "SYIDUP_EXTRACT/PROFREAD" error
We are upgrading SCC system. While generating stack.xml file from solman 7.1 sp 10, we got error in the verification execution as Cannot recognize installed product instance in lmdb. We referred the note - 1816146 - Correction of installed software i
-
Hi all, I don't know where to put this query, if anybody knows please do reply. I am working on a project where I need to save data from PDF files. To save the data, we will be using Acrobat FDFTK. As I know FDFTK supports only JDK1.1.7 but for our a
-
Use of SRM confirmations for only Product type Services
In our current implementation the requirment is not to allow confirmations on product type material. Is there any way we can restrict confirmation to only services. Thanks
-
Error While Automating Calculaion Script
Hi All, I am trying to automate the calc script created in EAS, i have changed the calc script filetype to xml. & calling it through maxl script and getting the following error in log file " MAXL> execute calculation FDQM.plan1.opex.xml; ERROR – 1242
-
Cannot open LR4 Catalogue in a new iMAC
I have just bought a new iMAC. That was yesterday. I already had LR4 purchased and used it regularly on my older iMAC. The LR4 Catalogue and Images were all installed in an external USB disk So today, after installing LR4 and a trial version of PS6 (