Apri una tabella dalla pagina AtlassianCome faccio a scrivere uno script per aprire una tabella che si trova su una pagina Atlassian? Ho provato sotto
dt = aperto(" https://impinj.atlassian.net/wiki/spaces/UNI/pages/79855941/12+AOI+Disposition-2022 ", tabella html(1));
Sto usando JMP17.

Automazione e scriptingAccesso ai datiCondivisione e comunicazione dei risultatiRi: Apri una tabella dalla pagina AtlassianCIAO,
Non ho potuto testare il tuo problema perché il link nella tua domanda richiede una password.
Non ho familiarità con l'utilizzo del comando OPEN per importare direttamente il contenuto di una pagina Web come tabella di dati. Sei sicuro che sia il metodo giusto? Se lo sei, potrebbe esserci un problema con il tuo privilegio di accesso per quella pagina specifica.
In caso contrario, suggerisco di utilizzare il metodo manuale descritto di seguito per valutare se la pagina può essere scaricata come tabella di dati.
Per importare dati da Internet o da un computer remoto come tabella dati in JMP, puoi:
- Seleziona File > Apri Internet e seleziona il file
- Fare clic sull'icona Importa come tabella dati nell'angolo in alto a destra del browser JMP
- Compare una finestra che elenca le tabelle trovate nella pagina web
- Seleziona la tabella o le tabelle che desideri importare
- Fare clic su OK
Facci sapere cosa trovi.
Migliore,
ST
Ri: Apri una tabella dalla pagina AtlassianCiao Thierry,
Non sono riuscito ad aprire la tabella usando il tuo metodo. C'è una tabella sulla pagina web ma dice che non è riuscita a trovarla.

Ri: Aprire una tabella dalla pagina AtlassianJMP non è riuscito a trovare gli elementi
nell'HTML ricevuto. Forse uno di questi:
La tabella apparente viene formattata senza utilizzare gli elementi
Il sito richiede un accesso e JMP visualizza la pagina di accesso
URL errato e JMP visualizza un errore o un'altra pagina
Apri la tabella in un browser e utilizza l'opzione clic con il pulsante destro del mouse->visualizza sorgente per vedere se sono presenti elementi , e | nell'html. |
<...
per ogni riga e | ... | per ogni valore di dati.
Tentativo
write(loadtextfile("https://..."))
e controlla il registro. Studia l'HTML per vedere se assomiglia alla tua tabella o a un messaggio di errore o a una richiesta di accesso.
Sono abbastanza sicuro che JMP veda la pagina di accesso, non la pagina con la tabella.
Se si tratta di un download singolo, @Thierry_S ha la risposta migliore:
Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Pick the web page option.Scegli l'opzione della pagina web.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button.Login, go to the page you need, then the high lighted button. Accedi, vai alla pagina che ti interessa, quindi il pulsante illuminato in alto.
Se è necessario eseguire lo script per molte esecuzioni...
Ci sono buone probabilità che il sito disponga di un'API per aiutarti a recuperare i dati, possibilmente come file .CSV. https://developer.atlassian.com/ Tale API avrà anche un modo per fornire le tue credenziali per utilizzare il sito. La httprequest di JMP ti aiuterà se segui questa strada. Questa è la scelta migliore. Potrebbe essere necessario l'esempio NewOAuth2 dall'indice di scripting per capire questo; mostra come potrebbe funzionare il processo di credenziale. @bryan_boone
Oppure qualcosa del genere Script del browser con Python Selenium ti permetterà di scrivere JSL+Python per navigare nel sito. Complicato, questa non è la scelta migliore se è disponibile un'API.
Ri: Aprire una tabella dalla pagina AtlassianLa maggior parte dei dati in Atlassian (Confluence e Jira) non sono tabulari e presentano campi personalizzabili. In breve, è JSON, almeno dal punto di vista dell'endpoint REST.
Il modo più semplice per iniziare è creare un token di accesso personale (PAT) nel tuo Atlassian. L'ho fatto qualche tempo fa (come puoi vedere dallo screenshot) ma dovevo ancora cercarlo 
https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

Nel mio caso, ho utilizzato JMP per tenere traccia di Jira per me (sola lettura)
Ho usato l'API REST v2
https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#about
La cosa fondamentale da ricordare è questa ogni La chiamata REST avrà bisogno del token API come:
PAT_TOKEN = "";
JIRA_URL = "https://rndjira.mine/rest/api/2";
JIRA_USER = "";
user = Encode URI( JIRA_USER );
query = "startAt=0&maxResults=500&jql=assignee=" || user;
url = JIRA_URL || "/search?" || query;
request = New HTTPRequest (
Headers({"Authorization: Bearer " || PAT_TOKEN}),
Method( "GET" ),
URL( url )
);
json = request << Send;
json_aa = [=>];
If( request << Is Successful(),
json_aa = Parse JSON( json );
);
json_aa è il JSON restituito analizzato in un array associativo JSL.
Potresti voler fare qualcosa come:
write("!\n" || Char(json) || "!\n");
E inserisci l'output in un editor JSON in modo da poter vedere la struttura dei dati JSON restituita.