Using data from another farm
Hello,
I would like to populate a list column with data (Lot #'s) from a list on another sp farm updating frequently. I want to use the column as a lookup to the Lot #'s. Possible? Authentication?
Thank you,
Andrea
Andrea
Hi,
According to your description, you want to populate a list column with the data
from a list in another SharePoint Farm.
Is your another SharePoint Farm in the same domain you are trying to access?
If yes, you can use Client Object Model and set the creadentials to access the
data like below:
context.Credentials = new NetworkCredential("user", "password", "domain");
Here is a similiar thread for your reference:
http://social.msdn.microsoft.com/Forums/office/en-US/66f1ed1d-4df2-4da2-bfda-e3d1747a76cf/get-different-sharepoint-server-list-data-using-custom-webpart?forum=sharepointdevelopmentprevious
More information about get list data using Client Object Model:
http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
Best regards,
ZhengyuGuo
Zhengyu Guo
TechNet Community Support
Similar Messages
-
Is it possible to create a new Grid in the same analysis where calculated/Grand Totals columns/rows may be used?
I understand there is a feature use results from another analysis but wonder if it can be used in the same. Thanks.
AdiHi,
Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
Measures.Sales*1.0/SUM(Measures.Sales)
Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
Hope this helps.
Thank you,
Dhar -
Create pdf using data from another pdf
Hi,
I need to automate the following process.
A user fills in a pdf form(on a website) and submits it. A notification is sent to the appropriate person of the submission. This person will add in more information in the same form and when finished, clicks a ‘Generate’ button that will create 3 pdf’s with the same data as the initial pdf but with some more added text.
Is it possible to achieve this using adobe forms?
Help is much appreciated.
Thanks!Hi,
Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
Measures.Sales*1.0/SUM(Measures.Sales)
Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
Hope this helps.
Thank you,
Dhar -
How can i get data from another database SQL Server use database link from
I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?
hi,
u should see following documentation:
Oracle9i Heterogeneous Connectivity Administrator's Guide
Release 1 (9.0.1)
Part Number A88789_01
in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
regards
umar -
Best way To get data from another application using NDDE lbrary
My vb.net application gets data from another application using NDDE Library. I got stocks prices (open,high,low,close,volume,change......(about 15 records for each stock)) (about 200 stocks) . I don't know if there is a problem in my code.
This is my code:
l : is the list of stocks.
This Sub connects to server and requests the data :
Public Shared Sub GetQuotes()
Try
client1 = New DdeClient(server, topic)
client1.Connect()
For i As Integer = 0 To l.Count - 1
client1.StartAdvise("QO." & l(i).t & ".TAD$last", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$open", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$high", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$low", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$pclose", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$volume", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$date", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$time", 1, True, 60000)
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
and then I get the data from Client_advise sub (called each time a value changed )and fill the list. What I know is that client advise gets only one record for single stock each time is called..
Example: for stock AAPL. 1st time enters client_Advise I get open price for AAPL, 2nd time I get high price for AAPL,3rd time I get low price..... and I update the value in the List (l)
This the client_Advise Sub:
Private Shared Sub client1_Advise(ByVal sender As Object, ByVal e As NDde.Client.DdeAdviseEventArgs) Handles client1.Advise
For q As Integer = 0 To l.Count - 1
If l(q).t = w(1) Then
Dim item() As String = e.Item.Split("$")
If l(q).Open = "#" Then
l(q).Open = "0"
End If
If l(q).hi = "#" Then
l(q).hi = "0"
End If
If l(q).lo = "#" Then
l(q).lo = "0"
End If
If l(q).Close = "" Or l(q).Close = "#" Then
l(q).Close = "0"
End If
If l(q).pclose = "#" Then
l(q).pclose = "0"
End If
If item(1) = "open" Then
l(q).Open = Format(Val(e.Text), "0.00")
ElseIf item(1) = "last" Then
l(q).Close = Format(Val(e.Text), "0.00")
ElseIf item(1) = "high" Then
l(q).hi = Format(Val(e.Text), "0.00")
ElseIf item(1) = "volume" Then
l(q).Volume = Val(e.Text)
ElseIf item(1) = "low" Then
l(q).lo = Format(Val(e.Text), "0.00")
ElseIf item(1) = "pclose" Then
l(q).pclose = Format(Val(e.Text), "0.00")
If l(q).pclose <> "" And l(q).pclose <> "#" And l(q).Close <> "" And l(q).Close <> "#" Then
l(q).c = Format(l(q).Close - l(q).pclose, "0.00")
l(q).cp = Format(((l(q).Close - l(q).pclose) / l(q).pclose) * 100, "0.00")
End If
l(q).flag1 = 2
ElseIf item(1) = "date" Then
l(q).Date1 = e.Text
ElseIf item(1) = "time" Then
l(q).Time = e.Text
End If
Exit For
End If
Next
End Sub
Am I doing something wrong which inreases CPU usage to 80 or 90 % ?
Thanks in advance.Hi MikeHammadi,
According to your description, you'd like to get data from another app using NDDE library.
When using the NDDE library, the CPU usage is high. As the NDDE library is third-party library, it is not supported here. I suggest you checking if the problem is caused by the NDDE library.
If you'd like to get data from another app. I suggest you could save the data in the dataBase, and then read it in another application if necessary.
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
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. -
Incorrect link to "OS X: How to migrate data from another Mac using Mountain Lion and earlier". Should be http://support.apple.com/kb/HT6025
I think the OP is saying OS X: How to migrate data from another Mac using Mountain Lion and earlier (which should be a link to HT4889) just links back to OS X: How to migrate data from another Mac using Mavericks (HT5872).
It does indeed do that, & HT4889 seems to be MIA. -
Receive POST data from another URL and process using Struts
Hi there
We have a website and as of now we are receiving some data from another URL which is received as an appended part of the URL. My application uses Struts and we process the received data and send back a response.
Now my question is, I have been asked to change this behavior because there are more parameters now which cannot be passed through the URL. I am supposed to get the data from the other URL as POST data (as a form) and I have to create a new Struts action to receive this data, process it and send the response back to the requesting URL.
Please explain me how to do this using some example code snippets.
Thanks a lotLookup in XI is used to call the target data storage system and get data from there to your mapping programme.
In XI you can do Lookup in Message Mapping, Java Mapping and in XSLT Mapping. Previously Lookup in XI was system dependent. But now what ever the system are i.e. SAP system or non-sap system(Oracle,MS SQL etc) lookup API are same.
Overview of Lookup
- Lookups are used to identify/request the data from mapping program.
- It interrupt the process and looking for data which was stored in target system.
- It get that data and comeback to process and continue with that data.
Types of Lookups in XI
- JDBC Lookup: JDBC lookup is used for accessing data from database (non SAP).
- RFC Lookup: RFC lookup is used for accessing the SAP Data.
- SOAP Lookup: SOAP lookup is used for accessing data from Webservice
Steps to perform Lookup in Mapping
Import package com.sap.aii.mapping.lookup.*;
Create connection to the target Database system.
// Determine communication channel created in ID
Channel channel = null;
channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
// Get system accessor for the channel.
DataBaseAccessor accessor = null;
accessor = LookupService.getDataBaseAccessor(channel);
Build the Query String.
Getting Result
// Execute Query and get the values.
DataBaseResult resultSet = null;
resultSet = accessor.execute(Query); -
How to display data from a recordset based on data from another recordset
How to display data from a recordset based on data from
another recordset.
What I would like to do is as follows:
I have a fantasy hockey league website. For each team I have
a team page (clubhouse) which is generated using PHP/MySQL. The one
area I would like to clean up is the displaying of the divisional
standings on the right side. As of right now, I use a URL variable
(division = id2) to grab the needed data, which works ok. What I
want to do is clean up the url abit.
So far the url is
clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
I want is clubhouse.php?team=Wings.
I have a separate table, that has the teams entire
information (full team name, short team, abbreviation, conference,
division, etc. so I was thinking if I could somehow do this:
Recordset Team Info is filtered using URL variable team
(short team). Based on what team equals, it would then insert this
variable into the Divisional Standings recordset.
So example: If I type in clubhouse.php?team=Wings, the Team
Info recordset would bring up the Pacific division. Then 'Pacific'
would be inserted into the Divisional Standings recordset to
display the Pacific Division Standings.
Basically I want this
SELECT *
FROM standings
WHERE division = <teaminfo.division>
ORDER BY pts DESC
Could someone help me, thank you.Assuming two tables- teamtable and standings:
teamtable - which has entire info about the team and has a
field called
"div" which has the division name say "pacific" and you want
to use this
name to get corresponding details from the other table.
standings - which has a field called "division" which you
want to use to
give the standings
SELECT * FROM standings AS st, teamtable AS t
WHERE st.division = t.div
ORDER BY pts DESC
Instead of * you could be specific on what fields you want to
select ..
something like
SELECT st.id AS id, st.position AS position, st.teamname AS
team
You cannot lose until you give up !!!
"Leburn98" <[email protected]> wrote in
message
news:[email protected]...
> How to display data from a recordset based on data from
another recordset.
>
> What I would like to do is as follows:
>
> I have a fantasy hockey league website. For each team I
have a team page
> (clubhouse) which is generated using PHP/MySQL. The one
area I would like
> to
> clean up is the displaying of the divisional standings
on the right side.
> As of
> right now, I use a URL variable (division = id2) to grab
the needed data,
> which
> works ok. What I want to do is clean up the url abit.
>
> So far the url is
clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
> all
> I want is clubhouse.php?team=Wings.
>
> I have a separate table, that has the teams entire
information (full team
> name, short team, abbreviation, conference, division,
etc. so I was
> thinking if
> I could somehow do this:
>
> Recordset Team Info is filtered using URL variable team
(short team).
> Based on
> what team equals, it would then insert this variable
into the Divisional
> Standings recordset.
>
> So example: If I type in clubhouse.php?team=Wings, the
Team Info recordset
> would bring up the Pacific division. Then 'Pacific'
would be inserted into
> the
> Divisional Standings recordset to display the Pacific
Division Standings.
>
> Basically I want this
>
> SELECT *
> FROM standings
> WHERE division = <teaminfo.division>
> ORDER BY pts DESC
>
> Could someone help me, thank you.
> -
Can we use Result from another query in Webi using Bex uery universe?
Hi,
Can we use Result from another query filter option in Webi to create a report using a Bex Query universe?
I need to create a report using two universes, one is Bex Query Universe and the other is Orcle universe. I have two queries, one is using Oracle universe; the other using Bex Query universe. I need to pass the Oracle data from the Oracle query to the Bex Query query to get the matched data from SAP Bex query.
I used Result from another query in the query filter panel for the query using Bex query universe. But I got an error saying that 'A filter contains a wrong value. you cannot run this query. (Error: WIS 00007). The data used in the filter on both sides are the same. they are char.
I have tested by using two queries from the same Bex query universe to see if the Result from another query filter option works. And I got the same error.
Has anyone run into the same issue and if this is possible and what should be the solution?
Thanks in advance!
Edited by: BO_Haiyan on Oct 6, 2010 3:47 PMIn that situation:
Create two queries : Oracle and BW query.
@ Report:
As you have to see result set from both the Dataproviders, correct? To achieve thise one must have common dimension objects to merge them at report and use Objects those are coming from both queries to use them in single Table/Report.
Unless you don't use Merge Dimensions, you don't get a chane to use both queries objects in single Table/Report. (It will give tooltip saying: You can't drop here -- Incompatable Objects)
In case, if you don't have common dimensions, change object definitions to Detail objects, for those required.
Hope it helps you.
Thank You!! -
Reading data from another database
Hi Folks!
I need to read some data from another non-sap system database to validate something in R/3. Does this is possible. If it is possible how could this be achieved?
Thanks in advance for your help.
Regards,
Gilberto LiThere are a couple of ways to do this. One, you can create an executable on the other non-sap system that you can call from SAP as a system command. So let us say you write a unix script that takes a value as input and returns a flag as output. Within the script you will check that value against this non-sap database. In SAP, you will create a system command in SM69 and then execute it in your program via function module SXPG_COMMAND_EXECUTE.
Alternatively, you can use the RFC route but you need to setup RFC connection between the two systems.
You can also bring this validation table into SAP as a one time or periodically updated table and then do the validations within SAP. -
To get data from another user?
Hi,
I am in "scott" user. I need to use the data from another user for example user "sys". i know the database name(i.e.user@database), but i dont know the password of that user.
I think by using dblink it is possible. If it is correct then Is there any other way for this? If dblink is not correct way then please reply the correct way.
Thanks & Regards,
ShyamYou only need to use a database link if the data is in another database instances.
If you want to query data in another users schema on the same database you just need to have rights to do so. You either need to have
select any table system privilage granted to the user (not recommended for security reasons)
be granted select privalage on the object from the user
be granted a role that has select privelges on the object you want to query.
If you log in as system to the database you can grant select on the object to scott
sql> grant select on <schema>.<table> to scott;
now logged in as scott you can select from the table
sql> select * from <schema>.<table>
where <schema> is the other user and <table> is the name of the table that you want to select from. -
Fetch data from another mirosoft sql server to sap
Dear all,
I want to fetch data from another mirosoft sql server
to SAP(my sap server IN unix, oracle 10g).
Thanks
Shashi
Moderator Message: Try to do you own research before posting your question. Get back to the forums in case you are stuck with any issue
Edited by: Suhas Saha on Jul 26, 2011 3:21 PMhi,
u should see following documentation:
Oracle9i Heterogeneous Connectivity Administrator's Guide
Release 1 (9.0.1)
Part Number A88789_01
in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
regards
umar -
Chrome missing in Import data from another browser
I use both chrome and firefox portable from site portableapps because mozilla doesn´t have a portable version.
My dilemma today is this:
I always had on firefox on menu "import and backup" > > "import data from another browser" listing chrome like this
https://support.mozilla.org/media/uploads/gallery/images/2012-02-24-10-35-53-97ff60.png
today i want to import chrome bookmarks to firefox but chrome is missing on the list, in the past i always had it there listed now is just pointing to IE
Do i need chrome installed on machine to grab something from registry?
By what i can remember always had that option on portable versions, i am importating this with a fresh pc machine because i installed now windows where i previously wiped the disk from manufacturer erasing tool.
i digged the net and on questions here but cant find why its missing, can you guys tell me why?
P.S- i would like to say that this site, Mozilla and Mozilla support, forums and community are the best service i´ve seen in years over the whole web i believe its really the best one and am not writing this because of this question, only thing missing is having Mozilla apps portable, a online chat would be cool too for the community
Oh god i hope today the "fox" saves me cause i can´t find solution on this
You guys take it easy.....Do you mean the portable version of Google Chrome as well?
*http://portableapps.com/apps/internet/google_chrome_portable
Which that version you probably need to export the bookmarks to an HTML file and import that file in Firefox.
You can open the Bookmarks Manager in Google Chrome (wrench icon > Bookmarks > Bookmarks Manager) and select "Tools > Export Bookmarks"<br />
This will export the Chrome bookmarks to a file bookmarks.html.<br />
You can import that file in Firefox: Bookmarks > Show All Bookmarks > Import & Backup > Import HTML : "From File"
* http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=96816 - Bookmarks : Import or export bookmarks - Google Chrome Help -
By following the directions on Firefox to open up the Library tool - import & backup - The drop down choice to 'Import Data from another Browser' this choice is greyed out and unavailable. I do not know how to proceed in order to import my favorites from IE.
Make sure that you do not run Firefox in permanent Private Browsing mode.
*https://support.mozilla.com/kb/Private+Browsing
To see all History and Cookie settings, choose:
*Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
*Deselect: [ ] "Always use private browsing mode" -
Win7 / IE9: First time use. Example: One favorites folder has 4 HTML entries - only 2 get transferred. Some have none transfered - folder empty. Others have random correct + some missing.
Monday Nght
I can see complete IE9 Favorites HTML list in HTML file on Desktop with Firefox -> New Tab -> Open File.-> Open
In desktop HTML file, there are 37 IE9 folders with no more than nesting 3 deep in any one top folder. These are all correct wrt IE9 favorites.
All top folders + deepest nests are copied to FF ok. Contents random. Copied contents work ok
7 HTML web sites not allocated to IE9 top folders are also copied <- these 7 copy to FF and work ok
Example: First folder in IE9 list has no nesting., IE9 has 4 entries - Firefox has only 2. when either method of copying is used.
BTW - please advise how I can delete whole Bookmark list in Firefox in one keystroke to be able to retry with a clean Bookmark list
I am going to uninstall Firefox and start again with a clean copy and use HTML method only to try to transfer IE( files. I will report result.
BTW, I am in UK on UK time - hence delays in replying - need to sleep sometimes!!!!!
Tuesday Evening
Hi
I uninstalled Firefox. Re installed and loaded IE9 favorites from HTML file.
All seem copied correctly
First time I started by using the "import data from another browser". Partial copied.
Then I tried "Import from HTML file" without deleting whatever favorites had been copied. Still partial copied.
All seems well.
Maybe you are looking for
-
Hello, We are on MII 12.1.7 build 47 I am getting below errors in NW logs (Default trace view) not sure what is it that causing these errors but I am afraid these errors might impact us sooner or later.. Any suggestions/recommendations will be of gre
-
Delete in iPhoto - Sync iPad - why reimport?
I know the answer must be somewhere, cannot find it though. I delete pictures in iPhoto, then do a sync with my iPad. The pictures I have deleted come back on the importscreen with the question if I want to import these pictures on the iPad. No! Thos
-
Changing the cursor position in an input text field and Removing leading numeric zeros
Flash8 - AS2 It's good to be back after all these years and thanks for the faithfull folks like kglad, Ned Murphy, Rothrock and all the others who give so much of themselves to make this forum a success! My Problem: I have an input text field that is
-
Property Loader and Multiple Numeric Limits
I'm using a Multiple Numeric Limits Step with 50 measurements. From these 50 measurements I would like to create a limits file. The problem I have is that when I export the properties to a tab delimited file text file it becomes unreadable. I have at
-
Split a very long PDF into A4 pages
I have a FileMaker report which is generated on the iPad and exported as a PDF but the problem is that FileMaker generates a long pdf of a single page so the whole document is one single page which is of no use as i cannot print it, please suggest a